ScalaTest 1.0
|
|
org/scalatest/NotAllowedException.scala
]
class
NotAllowedException(message : java.lang.String, failedCodeStackDepth : Int)
extends
StackDepthExceptionFeatureSpec
, 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 problemfailedCodeStackDepth -
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
Values and Variables inherited from StackDepthException | |
cause |
Values and Variables inherited from StackDepth | |
failedCodeFileNameAndLineNumberString |
Methods inherited from StackDepthException | |
initCause |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
ScalaTest 1.0
|
|