Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.lang.exception
Class ExceptionUtilsTestCase.ExceptionWithCause  view ExceptionUtilsTestCase.ExceptionWithCause download ExceptionUtilsTestCase.ExceptionWithCause.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.lang.exception.ExceptionUtilsTestCase.ExceptionWithCause
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ExceptionUtilsTestCase

private static class ExceptionUtilsTestCase.ExceptionWithCause
extends java.lang.Exception

Provides a method with a well known chained/nested exception name which matches the full signature (e.g. has a return value of Throwable.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Throwable cause
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ExceptionUtilsTestCase.ExceptionWithCause(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of this exception, or null if the cause is not known or non-existant.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cause

private java.lang.Throwable cause
Constructor Detail

ExceptionUtilsTestCase.ExceptionWithCause

public ExceptionUtilsTestCase.ExceptionWithCause(java.lang.Throwable cause)
Method Detail

getCause

public java.lang.Throwable getCause()
Description copied from class: java.lang.Throwable
Returns the cause of this exception, or null if the cause is not known or non-existant. This cause is initialized by the new constructors, or by calling initCause.