NotAllowedException(message : java.lang.String, failedCodeStackDepth : Int)
- 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
clause inside another
feature clause. If this is attempted, the construction
of that suite will fail with a
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
- Bill Venners
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Copyright (C) 2001-2010 Artima, Inc. All rights reserved.