Class DerivativeDoesNotExistException

Object
Throwable
Exception
RuntimeException
UnsupportedOperationException
DerivativeDoesNotExistException
All Implemented Interfaces:
Serializable

public class DerivativeDoesNotExistException
extends UnsupportedOperationException
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    DerivativeDoesNotExistException​(GeneralFunction function)
    To be thrown when a derivative of a function does not exist
  • Method Summary

    Modifier and Type Method Description
    GeneralFunction getFunction()
    Returns the non-differentiable function

    Methods inherited from class Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getFunction

      public GeneralFunction getFunction()
      Returns the non-differentiable function
      Returns:
      the non-differentiable function