class NotAllowedException

[source: org/scalatest/NotAllowedException.scala]

class NotAllowedException(message : java.lang.String, failedCodeStackDepth : Int)
extends StackDepthException
Exception that indicates something was attempted in test code that is not allowed. For example, in a FeatureSpec, it is not allowed to nest a feature clause inside another feature clause. If this is attempted, the construction of that suite will fail with a NotAllowedException.
message - a string that explains the problem
failedCodeStackDepth - the depth in the stack trace of this exception at which the line of code that attempted to register the test with the duplicate name resides.
NullPointerException - if message is null
Bill Venners
Values and Variables inherited from StackDepthException
Values and Variables inherited from StackDepth
Methods inherited from StackDepthException
Methods inherited from java.lang.Throwable
java.lang.Throwable.getMessage, java.lang.Throwable.getLocalizedMessage, java.lang.Throwable.getCause, java.lang.Throwable.toString, java.lang.Throwable.printStackTrace, java.lang.Throwable.printStackTrace, java.lang.Throwable.printStackTrace, java.lang.Throwable.fillInStackTrace, java.lang.Throwable.getStackTrace, java.lang.Throwable.setStackTrace
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Copyright (C) 2001-2010 Artima, Inc. All rights reserved.