Class MathException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MathException
    extends java.lang.RuntimeException
    Exception thrown by math.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MathException()
      Creates an instance.
      MathException​(java.lang.String message)
      Creates an instance based on a message.
      MathException​(java.lang.String message, java.lang.Throwable cause)
      Creates an instance based on a message and cause.
      MathException​(java.lang.Throwable cause)
      Creates an instance based on a cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • MathException

        public MathException()
        Creates an instance.
      • MathException

        public MathException​(java.lang.String message)
        Creates an instance based on a message.
        Parameters:
        message - the message, null tolerant
      • MathException

        public MathException​(java.lang.String message,
                             java.lang.Throwable cause)
        Creates an instance based on a message and cause.
        Parameters:
        message - the message, null tolerant
        cause - the cause, null tolerant
      • MathException

        public MathException​(java.lang.Throwable cause)
        Creates an instance based on a cause.
        Parameters:
        cause - the cause, null tolerant