package exceptions
Type Members
- 
      
      
      
        
      
    
      
        
        class
      
      
        NullArgumentException extends IllegalArgumentException
      
      
      
Exception that indicates a passed argument was
null.Exception that indicates a passed argument was
null.Prior to ScalaTest and Scalactic 3.0.0, a
nullargument (where non-nullwas required) would result in aNullPointerException. Although throwingNullPointerExceptionis the tradition in Java APIs, Scala.js does not support aNullPointerException. To make the behavior the same on both the JVM and Scala.js, the change to throwingNullArgumentExceptionwas made throughout the ScalaTest and Scalactic, including therequireNonNullmethod of traitRequirements. - 
      
      
      
        
      
    
      
        
        case class
      
      
        ValidationFailedException(errorMessage: String) extends Exception with Product with Serializable
      
      
      
Exception that indicates a validation failed.
Exception that indicates a validation failed.
This exception is used to indicate and describe a failed validation by the
validatingmethods ofTrySugarandFutureSugar.- errorMessage
 a string describing the validation failure