org.fhcrc.cpl.toolbox.commandline
Class CommandLineModuleExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.fhcrc.cpl.toolbox.commandline.CommandLineModuleExecutionException
- All Implemented Interfaces:
- java.io.Serializable
public class CommandLineModuleExecutionException
- extends java.lang.Exception
This class is used to communicate that execution Did Not Go Well, and
information about why
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mNestedException
protected java.lang.Exception mNestedException
mShouldShowStackTrace
protected boolean mShouldShowStackTrace
CommandLineModuleExecutionException
public CommandLineModuleExecutionException(java.lang.String message)
CommandLineModuleExecutionException
public CommandLineModuleExecutionException(java.lang.Exception e)
CommandLineModuleExecutionException
public CommandLineModuleExecutionException(java.lang.String message,
java.lang.Exception e)
CommandLineModuleExecutionException
public CommandLineModuleExecutionException(java.lang.String message,
boolean shouldShowStackTrace)
printStackTrace
public void printStackTrace(java.io.PrintWriter pw)
- Overrides:
printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream out)
- Overrides:
printStackTrace in class java.lang.Throwable
shouldShowStackTrace
public boolean shouldShowStackTrace()
- Indicates whether stack trace should be shown. If we're getting an exception
we don't understand, best to show stack trace. If, instead, it's something like
a missing file, better to give a meaningful message and leave it at that.
- Returns:
setShouldShowStackTrace
public void setShouldShowStackTrace(boolean shouldShowStackTrace)
getNestedException
public java.lang.Exception getNestedException()
Fred Hutchinson Cancer Research Center