| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.derby.shared.common.sanity.AssertFailure
All known Subclasses: org.apache.derby.iapi.services.sanity.AssertFailure,
AssertFailure | public class AssertFailure extends RuntimeException (Code) | | AssertFailure is raised when an ASSERT check fails.
Because assertions are not used in production code,
are never expected to fail, and recovering from their
failure is expected to be hard, they are under
RuntimeException so that no one needs to list them
in their throws clauses. An AssertFailure at the
outermost system level will result in system shutdown.
|
Constructor Summary | |
public | AssertFailure(String message, Throwable nestedError) This constructor takes the pieces of information
expected for each error.
Parameters: message - the message associated withthe error. Parameters: nestedError - errors can be nested together;if this error has another error associated with it,it is specified here. | public | AssertFailure(String message) This constructor expects no arguments or nested error. |
AssertFailure | public AssertFailure(String message, Throwable nestedError)(Code) | | This constructor takes the pieces of information
expected for each error.
Parameters: message - the message associated withthe error. Parameters: nestedError - errors can be nested together;if this error has another error associated with it,it is specified here. The 'outermost' error should bethe most sever error; inner errors should be providingadditional information about what went wrong. |
AssertFailure | public AssertFailure(String message)(Code) | | This constructor expects no arguments or nested error.
|
printStackTrace | public void printStackTrace()(Code) | | |
|
|