Package com.bayesserver.causal
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.bayesserver.causal.ValidationException
-
- All Implemented Interfaces:
Serializable
public class ValidationException extends RuntimeException
Raised by an identification algorithm when validation fails.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException()
Initializes a new instance of theValidationException
class.ValidationException(String message)
Initializes a new instance of theValidationException
class with a specified error message.ValidationException(String message, Throwable cause)
Initializes a new instance of theValidationException
class with a specified error message and a reference to the inner exception that is the cause of this exception.ValidationException(Throwable cause)
Initializes a new instance of theValidationException
class with a reference to the inner exception that is the cause of this exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ValidationException
public ValidationException()
Initializes a new instance of theValidationException
class.
-
ValidationException
public ValidationException(String message)
Initializes a new instance of theValidationException
class with a specified error message.- Parameters:
message
- The error message that explains the reason for the exception.
-
ValidationException
public ValidationException(String message, Throwable cause)
Initializes a new instance of theValidationException
class with a specified error message and a reference to the inner exception that is the cause of this exception.- Parameters:
message
- The error message that explains the reason for the exception.cause
- The exception that is the cause of the current exception.
-
ValidationException
public ValidationException(Throwable cause)
Initializes a new instance of theValidationException
class with a reference to the inner exception that is the cause of this exception.- Parameters:
cause
- The exception that is the cause of the current exception.
-
-