Class NumericMethodException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opensourcephysics.numerics.NumericMethodException
All Implemented Interfaces:
Serializable

public final class NumericMethodException extends RuntimeException
Indicates that an error occured in a numeric method.
See Also:
  • Field Details

    • error_value

      public double error_value
      Field error_value stores an optional numeric error.
    • error_code

      public int error_code
      Field error_code sotes an optional error code
  • Constructor Details

    • NumericMethodException

      public NumericMethodException()
      Constructs a RuntimeException with no detail message.
    • NumericMethodException

      public NumericMethodException(String msg)
      Constructs a RuntimeException with the specified detail message.
      Parameters:
      msg - the detail message.
    • NumericMethodException

      public NumericMethodException(String msg, int code, double val)
      Constructs a RuntimeException with the specified detail message, error code, and error estimate.
      Parameters:
      msg -
      code -
      val -
  • Method Details

    • getMessage

      public String getMessage()
      Returns the error message string of this throwable object.
      Overrides:
      getMessage in class Throwable