edu.rit.numeric
Class DomainException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.rit.numeric.NumericRuntimeException
-
- edu.rit.numeric.DomainException
-
- All Implemented Interfaces:
- java.io.Serializable
public class DomainException extends NumericRuntimeException
Class DomainException is an unchecked runtime exception thrown if a function's argument is outside the allowed set of values for the function.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description DomainException()Construct a new domain exception with no detail message and no cause.DomainException(java.lang.String message)Construct a new domain exception with the given detail message and no cause.DomainException(java.lang.String message, java.lang.Throwable cause)Construct a new domain exception with the given detail message and the given cause.DomainException(java.lang.Throwable cause)Construct a new domain exception with the given cause and the default detail message.
-
-
-
Constructor Detail
-
DomainException
public DomainException()
Construct a new domain exception with no detail message and no cause.
-
DomainException
public DomainException(java.lang.String message)
Construct a new domain exception with the given detail message and no cause.- Parameters:
message- Detail message.
-
DomainException
public DomainException(java.lang.Throwable cause)
Construct a new domain exception with the given cause and the default detail message.- Parameters:
cause- Cause.
-
DomainException
public DomainException(java.lang.String message, java.lang.Throwable cause)Construct a new domain exception with the given detail message and the given cause.
-
-
DMelt 3.0 © DataMelt by jWork.ORG