ch.systemsx.cisd.common.exceptions
Class NotImplementedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ch.systemsx.cisd.common.exceptions.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

Nested Class Summary
static class NotImplementedException.StackTraceExtractor
          An automatic stack trace extractor.
 
Constructor Summary
NotImplementedException()
           
NotImplementedException(java.lang.String message)
           
NotImplementedException(java.lang.String message, java.lang.Throwable cause)
           
NotImplementedException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getMessage()
          Returns the error message for this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, 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()