Package com.bayesserver
Class NotInDomainException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.bayesserver.NotInDomainException
-
- All Implemented Interfaces:
Serializable
public class NotInDomainException extends RuntimeException
Raised when the arguments to a mathematic function are not in the domain of the function (undefined).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotInDomainException()Initializes a new instance of theNotInDomainExceptionclass.NotInDomainException(String message)Initializes a new instance of theNotInDomainExceptionclass with a specified error message.NotInDomainException(String message, Throwable cause)Initializes a new instance of theNotInDomainExceptionclass with a specified error message and a reference to the inner exception that is the cause of this exception.NotInDomainException(Throwable cause)Initializes a new instance of theNotInDomainExceptionclass 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
-
NotInDomainException
public NotInDomainException()
Initializes a new instance of theNotInDomainExceptionclass.
-
NotInDomainException
public NotInDomainException(String message)
Initializes a new instance of theNotInDomainExceptionclass with a specified error message.- Parameters:
message- The error message that explains the reason for the exception.
-
NotInDomainException
public NotInDomainException(String message, Throwable cause)
Initializes a new instance of theNotInDomainExceptionclass 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.
-
NotInDomainException
public NotInDomainException(Throwable cause)
Initializes a new instance of theNotInDomainExceptionclass 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.
-
-