edu.rit.numeric
Class DomainException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.rit.numeric.NumericRuntimeException
                  extended by edu.rit.numeric.DomainException
All Implemented Interfaces:
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
DomainException()
          Construct a new domain exception with no detail message and no cause.
DomainException(String message)
          Construct a new domain exception with the given detail message and no cause.
DomainException(String message, Throwable cause)
          Construct a new domain exception with the given detail message and the given cause.
DomainException(Throwable cause)
          Construct a new domain exception with the given cause and the default detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DomainException

public DomainException()
Construct a new domain exception with no detail message and no cause.


DomainException

public DomainException(String message)
Construct a new domain exception with the given detail message and no cause.

Parameters:
message - Detail message.

DomainException

public DomainException(Throwable cause)
Construct a new domain exception with the given cause and the default detail message.

Parameters:
cause - Cause.

DomainException

public DomainException(String message,
                       Throwable cause)
Construct a new domain exception with the given detail message and the given cause.



Copyright © 2005-2012 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.