org.scalatest

exceptions

package exceptions

Visibility
  1. Public
  2. All

Type Members

  1. class DiscardedEvaluationException extends RuntimeException

    Exception that indicates an evaluation of a property should be discarded, because a condition required by a property was not met by the passed values.

  2. class DuplicateTestNameException extends StackDepthException

    Exception that indicates an attempt was made to register a test that had the same name as a test already registered in the same suite.

  3. class GeneratorDrivenPropertyCheckFailedException extends PropertyCheckFailedException

    Exception that indicates a ScalaCheck property check failed.

  4. trait ModifiableMessage [T <: Throwable] extends AnyRef

    Trait implemented by exception types that can modify their detail message.

  5. trait ModifiablePayload [T <: Throwable] extends AnyRef

    Trait implemented by PayloadField exception types that can modify their payload.

  6. class NotAllowedException extends StackDepthException

    Exception that indicates something was attempted in test code that is not allowed.

  7. trait PayloadField extends AnyRef

    Trait implemented by exception types that carry an optional payload.

  8. class PropertyCheckFailedException extends TestFailedException

    Exception that indicates a property check failed.

  9. trait StackDepth extends AnyRef

    Trait that encapsulates the information required of an exception thrown by ScalaTest's assertions and matchers, which includes a stack depth at which the failing line of test code resides.

  10. class StackDepthException extends RuntimeException with StackDepth

    Exception class that encapsulates information about the stack depth at which the line of code that failed resides, so that information can be presented to the user that makes it quick to find the failing line of code.

  11. class TableDrivenPropertyCheckFailedException extends PropertyCheckFailedException

    Exception that indicates a table-driven property check failed.

  12. class TestCanceledException extends StackDepthException with ModifiableMessage[TestCanceledException]

    Exception thrown to indicate a test has been canceled.

  13. class TestFailedDueToTimeoutException extends TestFailedException with TimeoutField

    Subclass of TestFailedException representing tests that faile because of a timeout.

  14. class TestFailedException extends StackDepthException with ModifiableMessage[TestFailedException] with PayloadField with ModifiablePayload[TestFailedException]

    Exception that indicates a test failed.

  15. class TestPendingException extends RuntimeException

    Exception thrown to indicate a test is pending.

  16. class TestRegistrationClosedException extends StackDepthException

    Exception that indicates an action that is only allowed during a suite's test registration phase, such as registering a test to run or ignore, was attempted after registration had already closed.

  17. trait TimeoutField extends AnyRef

    Trait mixed into exceptions thrown due to a timeout, which offers a timeout field providing a Span representing the timeout that expired.