Home » commons-lang-2.5-src » org.apache.commons » lang » exception » [javadoc | source]
org.apache.commons.lang.exception
public class: NestableRuntimeException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.apache.commons.lang.exception.NestableRuntimeException

All Implemented Interfaces:
    Nestable, Serializable

Direct Known Subclasses:
    SerializationException, NestableRuntimeExceptionTester2, NestableRuntimeExceptionTester1, UnhandledException

The base class of all runtime exceptions which can contain other exceptions.
Field Summary
protected  NestableDelegate delegate    The helper instance which contains much of the code which we delegate to. 
Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public NestableRuntimeException() 
 public NestableRuntimeException(String msg) 
    Constructs a new NestableRuntimeException with specified detail message.
    Parameters:
    msg - the error message
 public NestableRuntimeException(Throwable cause) 
    Constructs a new NestableRuntimeException with specified nested Throwable.
    Parameters:
    cause - the exception or error that caused this exception to be thrown
 public NestableRuntimeException(String msg,
    Throwable cause) 
    Constructs a new NestableRuntimeException with specified detail message and nested Throwable.
    Parameters:
    msg - the error message
    cause - the exception or error that caused this exception to be thrown
Method from org.apache.commons.lang.exception.NestableRuntimeException Summary:
getCause,   getMessage,   getMessage,   getMessages,   getThrowable,   getThrowableCount,   getThrowables,   indexOfThrowable,   indexOfThrowable,   printPartialStackTrace,   printStackTrace,   printStackTrace,   printStackTrace
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.lang.exception.NestableRuntimeException Detail:
 public Throwable getCause() 
    {@inheritDoc}
 public String getMessage() 
    Returns the detail message string of this throwable. If it was created with a null message, returns the following: (cause==null ? null : cause.toString()).
 public String getMessage(int index) 
    {@inheritDoc}
 public String[] getMessages() 
    {@inheritDoc}
 public Throwable getThrowable(int index) 
    {@inheritDoc}
 public int getThrowableCount() 
    {@inheritDoc}
 public Throwable[] getThrowables() 
    {@inheritDoc}
 public int indexOfThrowable(Class type) 
    {@inheritDoc}
 public int indexOfThrowable(Class type,
    int fromIndex) 
    {@inheritDoc}
 public final  void printPartialStackTrace(PrintWriter out) 
    {@inheritDoc}
 public  void printStackTrace() 
    {@inheritDoc}
 public  void printStackTrace(PrintStream out) 
    {@inheritDoc}
 public  void printStackTrace(PrintWriter out) 
    {@inheritDoc}