Class DomainException

All Implemented Interfaces:

public class DomainException extends RuntimeException
This exception is usually thrown when one attempts to calculate f(x) and x is not a part of the domain of f
Federico Vera <[email protected]>
See Also:
  • Constructor Details

    • DomainException

      public DomainException(String formula, double x)
      This constructor takes the value and a string representation of the formula
      formula - The String representation of the formula
      x - The value