Class NotImplementedException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class NotImplementedException
    extends java.lang.RuntimeException
    This is an extension to the RuntimeException for unimplemented methods. The empty constructor tries to get the method resp. the class name the exception has been thrown.

    This class should be used everywhere where the Apache commons one can not (because the library is not imported, for instance).

    See Also:
    NotImplementedException, Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      Returns the error message for this exception.
      • Methods inherited from class java.lang.Throwable

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

      • NotImplementedException

        public NotImplementedException()
      • NotImplementedException

        public NotImplementedException​(java.lang.String message)
      • NotImplementedException

        public NotImplementedException​(java.lang.Throwable cause)
      • NotImplementedException

        public NotImplementedException​(java.lang.String message,
                                       java.lang.Throwable cause)
    • Method Detail

      • getMessage

        public final java.lang.String getMessage()
        Returns the error message for this exception. If the error message has not been defined in this class, returns the error message defined in the super class.
        Overrides:
        getMessage in class java.lang.Throwable
        See Also:
        Throwable.getMessage()