Package com.dkt.graphics.exceptions
Class DomainException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.dkt.graphics.exceptions.DomainException
-
- All Implemented Interfaces:
java.io.Serializable
public class DomainException extends java.lang.RuntimeException
This exception is usually thrown when one attempts to calculatef(x)
andx
is not a part of the domain off
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DomainException(java.lang.String formula, double x)
This constructor takes the value and a string representation of the formula
-