Packages

Scalactic is brought to you by:
c

org.scalactic.exceptions

ValidationFailedException

case class ValidationFailedException(errorMessage: String) extends Exception with Product with Serializable

Exception that indicates a validation failed.

This exception is used to indicate and describe a failed validation by the validating methods of TrySugar and FutureSugar.

errorMessage

a string describing the validation failure

Source
ValidationFailedException.scala
Linear Supertypes
Serializable, Product, Equals, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValidationFailedException
  2. Serializable
  3. Product
  4. Equals
  5. Exception
  6. Throwable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ValidationFailedException(errorMessage: String)

    errorMessage

    a string describing the validation failure

Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. val errorMessage: String
  3. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  4. def getCause(): Throwable
    Definition Classes
    Throwable
  5. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  6. def getMessage(): String
    Definition Classes
    Throwable
  7. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  8. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  9. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  10. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  11. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  12. def printStackTrace(): Unit
    Definition Classes
    Throwable
  13. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  14. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any