com.mchange.lang
Class PotentiallySecondaryRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.mchange.lang.PotentiallySecondaryRuntimeException
All Implemented Interfaces:
PotentiallySecondary, Serializable
Direct Known Subclasses:
UnexpectedException

public class PotentiallySecondaryRuntimeException
extends RuntimeException
implements PotentiallySecondary

See Also:
Serialized Form

Constructor Summary
PotentiallySecondaryRuntimeException()
           
PotentiallySecondaryRuntimeException(String msg)
           
PotentiallySecondaryRuntimeException(String msg, Throwable t)
           
PotentiallySecondaryRuntimeException(Throwable t)
           
 
Method Summary
 Throwable getNestedThrowable()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(PrintWriter pw)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PotentiallySecondaryRuntimeException

public PotentiallySecondaryRuntimeException(String msg,
                                            Throwable t)

PotentiallySecondaryRuntimeException

public PotentiallySecondaryRuntimeException(Throwable t)

PotentiallySecondaryRuntimeException

public PotentiallySecondaryRuntimeException(String msg)

PotentiallySecondaryRuntimeException

public PotentiallySecondaryRuntimeException()
Method Detail

getNestedThrowable

public Throwable getNestedThrowable()
Specified by:
getNestedThrowable in interface PotentiallySecondary

printStackTrace

public void printStackTrace(PrintWriter pw)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable