Thrown to indicate that a block of code has not been implemented.
This exception supplements UnsupportedOperationException
by providing a more semantically rich description of the problem.
| Method from org.apache.commons.lang.NotImplementedException Detail: |
public Throwable getCause() {
return cause;
}
Gets the root cause of this exception. |
public String getMessage() {
if (super.getMessage() != null) {
return super.getMessage();
} else if (cause != null) {
return cause.toString();
} else {
return null;
}
}
Gets the combined the error message of this and any nested errors. |
public String getMessage(int index) {
if (index == 0) {
return super.getMessage();
}
return delegate.getMessage(index);
}
Returns the error message of the Throwable in the chain
of Throwables at the specified index, numbered from 0. |
public String[] getMessages() {
return delegate.getMessages();
}
Returns the error message of this and any nested Throwable objects.
Each throwable returns a message, a null string is included in the array if
there is no message for a particular Throwable. |
public Throwable getThrowable(int index) {
return delegate.getThrowable(index);
}
Returns the Throwable in the chain by index. |
public int getThrowableCount() {
return delegate.getThrowableCount();
}
Returns the number of nested Throwables represented by
this Nestable, including this Nestable. |
public Throwable[] getThrowables() {
return delegate.getThrowables();
}
Returns this Nestable and any nested Throwables
in an array of Throwables, one element for each
Throwable. |
public int indexOfThrowable(Class type) {
return delegate.indexOfThrowable(type, 0);
}
Returns the index of the first occurrence of the specified type.
If there is no match, -1 is returned. |
public int indexOfThrowable(Class type,
int fromIndex) {
return delegate.indexOfThrowable(type, fromIndex);
}
Returns the index of the first occurrence of the specified type starting
from the specified index. If there is no match, -1 is returned. |
public final void printPartialStackTrace(PrintWriter out) {
super.printStackTrace(out);
}
Prints the stack trace for this exception only (root cause not included)
using the specified writer. |
public void printStackTrace() {
delegate.printStackTrace();
}
Prints the stack trace of this exception.
Includes information from the exception, if any, which caused this exception. |
public void printStackTrace(PrintStream out) {
delegate.printStackTrace(out);
}
Prints the stack trace of this exception to the specified stream.
Includes information from the exception, if any, which caused this exception. |
public void printStackTrace(PrintWriter out) {
delegate.printStackTrace(out);
}
Prints the stack trace of this exception to the specified writer.
Includes information from the exception, if any, which caused this exception. |