|
|||||||||
| Home >> All >> org >> apache >> commons >> lang >> [ exception overview ] | PREV NEXT | ||||||||
A
- AbstractNestableTestCase - class org.apache.commons.lang.exception.AbstractNestableTestCase.
- Tests implementations of the org.apache.commons.lang.exception.Nestable interface.
- AbstractNestableTestCase(String) - Constructor for class org.apache.commons.lang.exception.AbstractNestableTestCase
- Constructs an instance of
AbstractNestableTestCase. - addCauseMethodName(String) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Adds to the list of method names used in the search for
Throwableobjects.
C
- CAUSE_METHOD_NAMES - Static variable in class org.apache.commons.lang.exception.ExceptionUtils
- The names of methods commonly used to access a wrapped exception.
- CONSTRUCTOR_FAILED_MSG - Static variable in class org.apache.commons.lang.exception.NestableDelegateTestCase
- cause - Variable in class org.apache.commons.lang.exception.ExceptionUtilsTestCase.ExceptionWithCause
- cause - Variable in class org.apache.commons.lang.exception.NestableDelegateTester1
- cause - Variable in class org.apache.commons.lang.exception.NestableDelegateTester2
- cause - Variable in class org.apache.commons.lang.exception.NestableError
- Holds the reference to the exception or error that caused this exception to be thrown.
- cause - Variable in class org.apache.commons.lang.exception.NestableException
- Holds the reference to the exception or error that caused this exception to be thrown.
- cause - Variable in class org.apache.commons.lang.exception.NestableRuntimeException
- Holds the reference to the exception or error that caused this exception to be thrown.
- cause - Variable in class org.apache.commons.lang.exception.ThrowableNestable
- cause - Variable in class org.apache.commons.lang.exception.ThrowableNestedNestable
- checkStackTrace(NestableDelegate, boolean, boolean, String, int) - Method in class org.apache.commons.lang.exception.NestableDelegateTestCase
- countLines(String) - Method in class org.apache.commons.lang.exception.NestableDelegateTestCase
- createExceptionWithCause() - Method in class org.apache.commons.lang.exception.ExceptionUtilsTestCase
- createExceptionWithoutCause() - Method in class org.apache.commons.lang.exception.ExceptionUtilsTestCase
D
- delegate - Variable in class org.apache.commons.lang.exception.NestableError
- The helper instance which contains much of the code which we delegate to.
- delegate - Variable in class org.apache.commons.lang.exception.NestableException
- The helper instance which contains much of the code which we delegate to.
- delegate - Variable in class org.apache.commons.lang.exception.NestableRuntimeException
- The helper instance which contains much of the code which we delegate to.
- doNestableDelegateGetMessages(NestableDelegate, String[]) - Method in class org.apache.commons.lang.exception.NestableDelegateTestCase
- doNestableDelegateGetThrowableCount(NestableDelegate, int) - Method in class org.apache.commons.lang.exception.NestableDelegateTestCase
- doNestableDelegateGetThrowableN(NestableDelegate, Class[], String[]) - Method in class org.apache.commons.lang.exception.NestableDelegateTestCase
- doNestableDelegateGetThrowables(NestableDelegate, Class[], String[]) - Method in class org.apache.commons.lang.exception.NestableDelegateTestCase
- doNestableDelegateIndexOfThrowable(NestableDelegate, Class, int, int, String) - Method in class org.apache.commons.lang.exception.NestableDelegateTestCase
- doNestableExceptionGetThrowableI(Nestable, Class[], String[]) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- doNestableExceptionGetThrowables(Nestable, Class[], String[]) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- doNestableExceptionIndexOfThrowable(Nestable, Class, int, String) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- doNestableExceptionIndexOfThrowableI(Nestable, Class, int, int, String) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
E
- ExceptionTestSuite - class org.apache.commons.lang.exception.ExceptionTestSuite.
- Test manager for the org.apache.commons.lang.exception classes.
- ExceptionTestSuite(String) - Constructor for class org.apache.commons.lang.exception.ExceptionTestSuite
- Construct a new instance.
- ExceptionUtils - class org.apache.commons.lang.exception.ExceptionUtils.
- Provides utilities for manipulating and examining
Throwableobjects. - ExceptionUtils() - Constructor for class org.apache.commons.lang.exception.ExceptionUtils
- Public constructor allows an instance of
ExceptionUtilsto be created, although that is not normally necessary. - ExceptionUtilsTestCase - class org.apache.commons.lang.exception.ExceptionUtilsTestCase.
- Tests ExceptionUtils.
- ExceptionUtilsTestCase(String) - Constructor for class org.apache.commons.lang.exception.ExceptionUtilsTestCase
- ExceptionUtilsTestCase.ExceptionWithCause - exception org.apache.commons.lang.exception.ExceptionUtilsTestCase.ExceptionWithCause.
- Provides a method with a well known chained/nested exception name which matches the full signature (e.g.
- ExceptionUtilsTestCase.ExceptionWithCause(Throwable) - Constructor for class org.apache.commons.lang.exception.ExceptionUtilsTestCase.ExceptionWithCause
- ExceptionUtilsTestCase.ExceptionWithoutCause - exception org.apache.commons.lang.exception.ExceptionUtilsTestCase.ExceptionWithoutCause.
- Provides a method with a well known chained/nested exception name which does not match the full signature (e.g.
- ExceptionUtilsTestCase.ExceptionWithoutCause() - Constructor for class org.apache.commons.lang.exception.ExceptionUtilsTestCase.ExceptionWithoutCause
G
- getBaseThrowableClass() - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns the base class being used, typically Error, Eception or RuntimeException.
- getBaseThrowableClass() - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getBaseThrowableClass() - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getBaseThrowableClass() - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getCause(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Introspects the
Throwableto obtain the cause. - getCause(Throwable, String[]) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Introspects the
Throwableto obtain the cause. - getCause() - Method in class org.apache.commons.lang.exception.ExceptionUtilsTestCase.ExceptionWithCause
- getCause() - Method in interface org.apache.commons.lang.exception.Nestable
- Returns the reference to the exception or error that caused the
exception implementing the
Nestableto be thrown. - getCause() - Method in class org.apache.commons.lang.exception.NestableDelegateTester1
- getCause() - Method in class org.apache.commons.lang.exception.NestableDelegateTester2
- getCause() - Method in class org.apache.commons.lang.exception.NestableError
- getCause() - Method in class org.apache.commons.lang.exception.NestableException
- getCause() - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- getCause() - Method in class org.apache.commons.lang.exception.NonThrowableNestable
- getCause() - Method in class org.apache.commons.lang.exception.ThrowableNestable
- getCause() - Method in class org.apache.commons.lang.exception.ThrowableNestedNestable
- getCauseMethodNameList() - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns
ExceptionUtils.CAUSE_METHOD_NAMES55 as a List. - getCauseUsingFieldName(Throwable, String) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Finds a
Throwableby field name. - getCauseUsingMethodName(Throwable, String) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Finds a
Throwableby method name. - getCauseUsingWellKnownTypes(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Finds a
Throwablefor known types. - getFullStackTrace(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- A way to get the entire nested stack-trace of an throwable.
- getMessage() - Method in interface org.apache.commons.lang.exception.Nestable
- Returns the error message of this and any nested
Throwable. - getMessage(int) - Method in interface org.apache.commons.lang.exception.Nestable
- Returns the error message of the
Throwablein the chain ofThrowables at the specified index, numbered from 0. - getMessage(int) - Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the error message of the
Throwablein the chain ofThrowables at the specified index, numbered from 0. - getMessage(String) - Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the full message contained by the
Nestableand any nestedThrowables. - getMessage(int) - Method in class org.apache.commons.lang.exception.NestableDelegateTester1
- getMessage(int) - Method in class org.apache.commons.lang.exception.NestableDelegateTester2
- getMessage() - Method in class org.apache.commons.lang.exception.NestableError
- Returns the detail message string of this throwable.
- getMessage(int) - Method in class org.apache.commons.lang.exception.NestableError
- getMessage() - Method in class org.apache.commons.lang.exception.NestableException
- Returns the detail message string of this throwable.
- getMessage(int) - Method in class org.apache.commons.lang.exception.NestableException
- getMessage() - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- Returns the detail message string of this throwable.
- getMessage(int) - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- getMessage() - Method in class org.apache.commons.lang.exception.NonThrowableNestable
- getMessage(int) - Method in class org.apache.commons.lang.exception.NonThrowableNestable
- getMessage() - Method in class org.apache.commons.lang.exception.ThrowableNestable
- getMessage(int) - Method in class org.apache.commons.lang.exception.ThrowableNestable
- getMessage() - Method in class org.apache.commons.lang.exception.ThrowableNestedNestable
- getMessage(int) - Method in class org.apache.commons.lang.exception.ThrowableNestedNestable
- getMessages() - Method in interface org.apache.commons.lang.exception.Nestable
- Returns the error message of this and any nested
Throwables in an array of Strings, one element for each message. - getMessages() - Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the error message of this and any nested
Throwables in an array of Strings, one element for each message. - getMessages() - Method in class org.apache.commons.lang.exception.NestableDelegateTester1
- getMessages() - Method in class org.apache.commons.lang.exception.NestableDelegateTester2
- getMessages() - Method in class org.apache.commons.lang.exception.NestableError
- getMessages() - Method in class org.apache.commons.lang.exception.NestableException
- getMessages() - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- getMessages() - Method in class org.apache.commons.lang.exception.NonThrowableNestable
- getMessages() - Method in class org.apache.commons.lang.exception.ThrowableNestable
- getMessages() - Method in class org.apache.commons.lang.exception.ThrowableNestedNestable
- getNestable() - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of the
Nestableimplementation being tested. - getNestable(Nestable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of the
Nestableimplementation being tested. - getNestable(String) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of the
Nestableimplementation being tested. - getNestable(String, Nestable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of the
Nestableimplementation being tested. - getNestable(String, Throwable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of the
Nestableimplementation being tested. - getNestable(Throwable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of the
Nestableimplementation being tested. - getNestable() - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getNestable(Nestable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getNestable(String) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getNestable(Throwable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getNestable(String, Throwable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getNestable(String, Nestable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getNestable() - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getNestable(Nestable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getNestable(String) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getNestable(Throwable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getNestable(String, Throwable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getNestable(String, Nestable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getNestable() - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getNestable(Nestable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getNestable(String) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getNestable(Throwable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getNestable(String, Throwable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getNestable(String, Nestable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getRootCause(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Introspects the
Throwableto obtain the root cause. - getRootCauseStackTrace(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Creates a compact stack trace for the root cause of the supplied
Throwable. - getStackFrameList(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Produces a
Listof stack frames - the message is not included. - getStackFrames(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Captures the stack trace associated with the specified
Throwableobject, decomposing it into a list of stack frames. - getStackFrames(String) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns an array where each element is a line from the argument.
- getStackFrames(Throwable) - Method in class org.apache.commons.lang.exception.NestableDelegate
- Captures the stack trace associated with the specified
Throwableobject, decomposing it into a list of stack frames. - getStackTrace(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Gets the stack trace from a Throwable as a String.
- getTargetException() - Method in class org.apache.commons.lang.exception.ExceptionUtilsTestCase.ExceptionWithoutCause
- getTester1(Nestable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of one tester
Nestableimplementation. - getTester1(Throwable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of one tester
Nestableimplementation. - getTester1(String, Nestable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of one tester
Nestableimplementation. - getTester1(String, Throwable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of one tester
Nestableimplementation. - getTester1(Throwable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getTester1(Nestable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getTester1(String, Throwable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getTester1(String, Nestable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getTester1(Throwable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getTester1(Nestable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getTester1(String, Throwable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getTester1(String, Nestable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getTester1(Throwable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getTester1(Nestable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getTester1(String, Throwable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getTester1(String, Nestable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getTester1Class() - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns the class of the first tester
Nestableimplementation. - getTester1Class() - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getTester1Class() - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getTester1Class() - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getTester2(String, Nestable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of a second tester
Nestableimplementation. - getTester2(String, Throwable) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of a second tester
Nestableimplementation. - getTester2(String, Throwable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getTester2(String, Nestable) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getTester2(String, Throwable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getTester2(String, Nestable) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getTester2(String, Throwable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getTester2(String, Nestable) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getTester2Class() - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns the class of the second tester
Nestableimplementation. - getTester2Class() - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getTester2Class() - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getTester2Class() - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getThrowable(String) - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns an instance of a
Throwableto be used in constructing instances of theNestableimplementation being tested. - getThrowable(int) - Method in interface org.apache.commons.lang.exception.Nestable
- Returns the
Throwablein the chain ofThrowables at the specified index, numbered from 0. - getThrowable(int) - Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the
Throwablein the chain ofThrowables at the specified index, numbered from 0. - getThrowable(int) - Method in class org.apache.commons.lang.exception.NestableDelegateTester1
- getThrowable(int) - Method in class org.apache.commons.lang.exception.NestableDelegateTester2
- getThrowable(int) - Method in class org.apache.commons.lang.exception.NestableError
- getThrowable(String) - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getThrowable(int) - Method in class org.apache.commons.lang.exception.NestableException
- getThrowable(String) - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getThrowable(int) - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- getThrowable(String) - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getThrowable(int) - Method in class org.apache.commons.lang.exception.NonThrowableNestable
- getThrowable(int) - Method in class org.apache.commons.lang.exception.ThrowableNestable
- getThrowable(int) - Method in class org.apache.commons.lang.exception.ThrowableNestedNestable
- getThrowableClass() - Method in class org.apache.commons.lang.exception.AbstractNestableTestCase
- Returns the class of the
Throwableused in constructing instances of theNestableimplementation being tested. - getThrowableClass() - Method in class org.apache.commons.lang.exception.NestableErrorTestCase
- getThrowableClass() - Method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- getThrowableClass() - Method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- getThrowableCount(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Counts the number of
Throwableobjects in the exception chain. - getThrowableCount() - Method in interface org.apache.commons.lang.exception.Nestable
- Returns the number of nested
Throwables represented by thisNestable, including thisNestable. - getThrowableCount() - Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the number of
Throwables contained in theNestablecontained by this delegate. - getThrowableCount() - Method in class org.apache.commons.lang.exception.NestableDelegateTester1
- getThrowableCount() - Method in class org.apache.commons.lang.exception.NestableDelegateTester2
- getThrowableCount() - Method in class org.apache.commons.lang.exception.NestableError
- getThrowableCount() - Method in class org.apache.commons.lang.exception.NestableException
- getThrowableCount() - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- getThrowableCount() - Method in class org.apache.commons.lang.exception.NonThrowableNestable
- getThrowableCount() - Method in class org.apache.commons.lang.exception.ThrowableNestable
- getThrowableCount() - Method in class org.apache.commons.lang.exception.ThrowableNestedNestable
- getThrowables(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the list of
Throwableobjects in the exception chain. - getThrowables() - Method in interface org.apache.commons.lang.exception.Nestable
- Returns this
Nestableand any nestedThrowables in an array ofThrowables, one element for eachThrowable. - getThrowables() - Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns this delegate's
Nestableand any nestedThrowables in an array ofThrowables, one element for eachThrowable. - getThrowables() - Method in class org.apache.commons.lang.exception.NestableDelegateTester1
- getThrowables() - Method in class org.apache.commons.lang.exception.NestableDelegateTester2
- getThrowables() - Method in class org.apache.commons.lang.exception.NestableError
- getThrowables() - Method in class org.apache.commons.lang.exception.NestableException
- getThrowables() - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- getThrowables() - Method in class org.apache.commons.lang.exception.NonThrowableNestable
- getThrowables() - Method in class org.apache.commons.lang.exception.ThrowableNestable
- getThrowables() - Method in class org.apache.commons.lang.exception.ThrowableNestedNestable
I
- indexOf(Throwable, Class, int, boolean) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- indexOfThrowable(Throwable, Class) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the (zero based) index of the first
Throwablethat matches the specified class (exactly) in the exception chain. - indexOfThrowable(Throwable, Class, int) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the (zero based) index of the first
Throwablethat matches the specified type in the exception chain from a specified index. - indexOfThrowable(Class) - Method in interface org.apache.commons.lang.exception.Nestable
- Returns the index, numbered from 0, of the first occurrence of the
specified type, or a subclass, in the chain of
Throwables. - indexOfThrowable(Class, int) - Method in interface org.apache.commons.lang.exception.Nestable
- Returns the index, numbered from 0, of the first
Throwablethat matches the specified type, or a subclass, in the chain ofThrowables with an index greater than or equal to the specified index. - indexOfThrowable(Class, int) - Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the index, numbered from 0, of the first
Throwablethat matches the specified type, or a subclass, in the chain ofThrowables with an index greater than or equal to the specified index. - indexOfThrowable(Class) - Method in class org.apache.commons.lang.exception.NestableDelegateTester1
- indexOfThrowable(Class, int) - Method in class org.apache.commons.lang.exception.NestableDelegateTester1
- indexOfThrowable(Class) - Method in class org.apache.commons.lang.exception.NestableDelegateTester2
- indexOfThrowable(Class, int) - Method in class org.apache.commons.lang.exception.NestableDelegateTester2
- indexOfThrowable(Class) - Method in class org.apache.commons.lang.exception.NestableError
- indexOfThrowable(Class, int) - Method in class org.apache.commons.lang.exception.NestableError
- indexOfThrowable(Class) - Method in class org.apache.commons.lang.exception.NestableException
- indexOfThrowable(Class, int) - Method in class org.apache.commons.lang.exception.NestableException
- indexOfThrowable(Class) - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- indexOfThrowable(Class, int) - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- indexOfThrowable(Class) - Method in class org.apache.commons.lang.exception.NonThrowableNestable
- indexOfThrowable(Class, int) - Method in class org.apache.commons.lang.exception.NonThrowableNestable
- indexOfThrowable(Class) - Method in class org.apache.commons.lang.exception.ThrowableNestable
- indexOfThrowable(Class, int) - Method in class org.apache.commons.lang.exception.ThrowableNestable
- indexOfThrowable(Class) - Method in class org.apache.commons.lang.exception.ThrowableNestedNestable
- indexOfThrowable(Class, int) - Method in class org.apache.commons.lang.exception.ThrowableNestedNestable
- indexOfType(Throwable, Class) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the (zero based) index of the first
Throwablethat matches the specified class or subclass in the exception chain. - indexOfType(Throwable, Class, int) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the (zero based) index of the first
Throwablethat matches the specified type in the exception chain from a specified index. - isCauseMethodName(String) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Tests if the list of method names used in the search for
Throwableobjects include the given name. - isNestedThrowable(Throwable) - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Checks whether this
Throwableclass can store a cause. - isThrowableNested() - Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Checks if the Throwable class has a
getCausemethod.
L
- lineSeparator - Variable in class org.apache.commons.lang.exception.NestableDelegateTestCase
M
- MUST_BE_THROWABLE - Static variable in class org.apache.commons.lang.exception.NestableDelegate
- Constructor error message.
- main(String[]) - Static method in class org.apache.commons.lang.exception.ExceptionTestSuite
- Command-line interface.
- main(String[]) - Static method in class org.apache.commons.lang.exception.NestableDelegateTestCase
- main(String[]) - Static method in class org.apache.commons.lang.exception.NestableErrorTestCase
- Command line entry point for running the test suite.
- main(String[]) - Static method in class org.apache.commons.lang.exception.NestableExceptionTestCase
- Command line entry point for running the test suite.
- main(String[]) - Static method in class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- Command line entry point for running the test suite.
- matchSubclasses - Static variable in class org.apache.commons.lang.exception.NestableDelegate
- Whether to match subclasses via indexOf.
N
- Nestable - interface org.apache.commons.lang.exception.Nestable.
- An interface to be implemented by java.lang.Throwable extensions which would like to be able to nest root exceptions inside themselves.
- NestableDelegate - class org.apache.commons.lang.exception.NestableDelegate.
- A shared implementation of the nestable exception functionality.
- NestableDelegate(Nestable) - Constructor for class org.apache.commons.lang.exception.NestableDelegate
- Constructs a new
NestableDelegateinstance to manage the specifiedNestable. - NestableDelegateTestCase - class org.apache.commons.lang.exception.NestableDelegateTestCase.
- Tests the org.apache.commons.lang.exception.NestableDelegate class.
- NestableDelegateTestCase(String) - Constructor for class org.apache.commons.lang.exception.NestableDelegateTestCase
- Construct a new instance of NestableDelegateTestCase with the specified name
- NestableDelegateTester1 - exception org.apache.commons.lang.exception.NestableDelegateTester1.
- Nestable and Throwable class which can be passed to the NestableDelegate constructor.
- NestableDelegateTester1() - Constructor for class org.apache.commons.lang.exception.NestableDelegateTester1
- NestableDelegateTester1(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableDelegateTester1
- NestableDelegateTester1(String) - Constructor for class org.apache.commons.lang.exception.NestableDelegateTester1
- NestableDelegateTester1(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableDelegateTester1
- NestableDelegateTester2 - class org.apache.commons.lang.exception.NestableDelegateTester2.
- Nestable and Throwable class which can be passed to the NestableDelegate constructor.
- NestableDelegateTester2() - Constructor for class org.apache.commons.lang.exception.NestableDelegateTester2
- NestableDelegateTester2(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableDelegateTester2
- NestableDelegateTester2(String) - Constructor for class org.apache.commons.lang.exception.NestableDelegateTester2
- NestableDelegateTester2(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableDelegateTester2
- NestableError - error org.apache.commons.lang.exception.NestableError.
- The base class of all errors which can contain other exceptions.
- NestableError() - Constructor for class org.apache.commons.lang.exception.NestableError
- Constructs a new
NestableErrorwithout specified detail message. - NestableError(String) - Constructor for class org.apache.commons.lang.exception.NestableError
- Constructs a new
NestableErrorwith specified detail message. - NestableError(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableError
- Constructs a new
NestableErrorwith specified nestedThrowable. - NestableError(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableError
- Constructs a new
NestableErrorwith specified detail message and nestedThrowable. - NestableErrorTestCase - class org.apache.commons.lang.exception.NestableErrorTestCase.
- Tests the org.apache.commons.lang.exception.NestableError class.
- NestableErrorTestCase(String) - Constructor for class org.apache.commons.lang.exception.NestableErrorTestCase
- Construct a new instance of
NestableErrorTestCase. - NestableErrorTester1 - error org.apache.commons.lang.exception.NestableErrorTester1.
- First nestable tester implementation for use in test cases.
- NestableErrorTester1() - Constructor for class org.apache.commons.lang.exception.NestableErrorTester1
- NestableErrorTester1(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableErrorTester1
- NestableErrorTester1(String) - Constructor for class org.apache.commons.lang.exception.NestableErrorTester1
- NestableErrorTester1(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableErrorTester1
- NestableErrorTester2 - error org.apache.commons.lang.exception.NestableErrorTester2.
- Second nestable tester implementation for use in test cases.
- NestableErrorTester2() - Constructor for class org.apache.commons.lang.exception.NestableErrorTester2
- NestableErrorTester2(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableErrorTester2
- NestableErrorTester2(String) - Constructor for class org.apache.commons.lang.exception.NestableErrorTester2
- NestableErrorTester2(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableErrorTester2
- NestableException - exception org.apache.commons.lang.exception.NestableException.
- The base class of all exceptions which can contain other exceptions.
- NestableException() - Constructor for class org.apache.commons.lang.exception.NestableException
- Constructs a new
NestableExceptionwithout specified detail message. - NestableException(String) - Constructor for class org.apache.commons.lang.exception.NestableException
- Constructs a new
NestableExceptionwith specified detail message. - NestableException(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableException
- Constructs a new
NestableExceptionwith specified nestedThrowable. - NestableException(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableException
- Constructs a new
NestableExceptionwith specified detail message and nestedThrowable. - NestableExceptionTestCase - class org.apache.commons.lang.exception.NestableExceptionTestCase.
- Tests the org.apache.commons.lang.exception.NestableException class.
- NestableExceptionTestCase(String) - Constructor for class org.apache.commons.lang.exception.NestableExceptionTestCase
- Construct a new instance of
NestableExceptionTestCase. - NestableExceptionTester1 - exception org.apache.commons.lang.exception.NestableExceptionTester1.
- First nestable tester implementation for use in test cases.
- NestableExceptionTester1() - Constructor for class org.apache.commons.lang.exception.NestableExceptionTester1
- NestableExceptionTester1(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableExceptionTester1
- NestableExceptionTester1(String) - Constructor for class org.apache.commons.lang.exception.NestableExceptionTester1
- NestableExceptionTester1(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableExceptionTester1
- NestableExceptionTester2 - exception org.apache.commons.lang.exception.NestableExceptionTester2.
- Second nestable tester implementation for use in test cases.
- NestableExceptionTester2() - Constructor for class org.apache.commons.lang.exception.NestableExceptionTester2
- NestableExceptionTester2(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableExceptionTester2
- NestableExceptionTester2(String) - Constructor for class org.apache.commons.lang.exception.NestableExceptionTester2
- NestableExceptionTester2(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableExceptionTester2
- NestableRuntimeException - exception org.apache.commons.lang.exception.NestableRuntimeException.
- The base class of all runtime exceptions which can contain other exceptions.
- NestableRuntimeException() - Constructor for class org.apache.commons.lang.exception.NestableRuntimeException
- Constructs a new
NestableRuntimeExceptionwithout specified detail message. - NestableRuntimeException(String) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeException
- Constructs a new
NestableRuntimeExceptionwith specified detail message. - NestableRuntimeException(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeException
- Constructs a new
NestableRuntimeExceptionwith specified nestedThrowable. - NestableRuntimeException(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeException
- Constructs a new
NestableRuntimeExceptionwith specified detail message and nestedThrowable. - NestableRuntimeExceptionTestCase - class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase.
- Tests the org.apache.commons.lang.exception.NestableRuntimeException class.
- NestableRuntimeExceptionTestCase(String) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeExceptionTestCase
- Construct a new instance of
NestableRuntimeExceptionTestCase. - NestableRuntimeExceptionTester1 - exception org.apache.commons.lang.exception.NestableRuntimeExceptionTester1.
- First nestable tester implementation for use in test cases.
- NestableRuntimeExceptionTester1() - Constructor for class org.apache.commons.lang.exception.NestableRuntimeExceptionTester1
- NestableRuntimeExceptionTester1(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeExceptionTester1
- NestableRuntimeExceptionTester1(String) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeExceptionTester1
- NestableRuntimeExceptionTester1(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeExceptionTester1
- NestableRuntimeExceptionTester2 - exception org.apache.commons.lang.exception.NestableRuntimeExceptionTester2.
- Second nestable tester implementation.
- NestableRuntimeExceptionTester2() - Constructor for class org.apache.commons.lang.exception.NestableRuntimeExceptionTester2
- NestableRuntimeExceptionTester2(String, Throwable) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeExceptionTester2
- NestableRuntimeExceptionTester2(String) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeExceptionTester2
- NestableRuntimeExceptionTester2(Throwable) - Constructor for class org.apache.commons.lang.exception.NestableRuntimeExceptionTester2
- NonThrowableNestable - class org.apache.commons.lang.exception.NonThrowableNestable.
- Used to test that the constructor fails when passed a non-throwable cause
- NonThrowableNestable() - Constructor for class org.apache.commons.lang.exception.NonThrowableNestable
- nestable - Variable in class org.apache.commons.lang.exception.NestableDelegate
- Holds the reference to the exception or error that we're wrapping (which must be a Nestable implementation).
- nested - Variable in class org.apache.commons.lang.exception.ExceptionUtilsTestCase
O
- org.apache.commons.lang.exception - package org.apache.commons.lang.exception
- Provides highly reusable static utility methods, chiefly concerned
with adding value to
java.langand other standard core classes.
P
- PARTIAL_STACK_TRACE - Static variable in class org.apache.commons.lang.exception.NestableDelegateTestCase
- printPartialStackTrace(PrintWriter) - Method in interface org.apache.commons.lang.exception.Nestable
- Prints the stack trace for this exception only--root cause not included--using the provided writer.
- printPartialStackTrace(PrintWriter) - Method in class org.apache.commons.lang.exception.NestableDelegateTester1
- Empty method to satisfy the implemented interface.
- printPartialStackTrace(PrintWriter) - Method in class org.apache.commons.lang.exception.NestableDelegateTester2
- Empty method to satisfy the implemented interface.
- printPartialStackTrace(PrintWriter) - Method in class org.apache.commons.lang.exception.NestableError
- printPartialStackTrace(PrintWriter) - Method in class org.apache.commons.lang.exception.NestableException
- printPartialStackTrace(PrintWriter) - Method in class org.apache.commons.lang.exception.NestableRuntimeException
- printPartialStackTrace(