Class 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 Detail

      • NotInDomainException

        public NotInDomainException()
        Initializes a new instance of the NotInDomainException class.
      • NotInDomainException

        public NotInDomainException​(String message)
        Initializes a new instance of the NotInDomainException class 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 the NotInDomainException 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.
      • NotInDomainException

        public NotInDomainException​(Throwable cause)
        Initializes a new instance of the NotInDomainException 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.