org.eclipse.jgit.pgm
Class Die
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jgit.pgm.Die
- All Implemented Interfaces:
- Serializable
public class Die
- extends RuntimeException
Indicates a TextBuiltin implementation has failed during execution.
Typically the stack trace for a Die exception is not shown to the user as it
may indicate a simple error condition that the end-user can fix on their own,
without needing a screen of Java stack frames.
- See Also:
- Serialized Form
|
Constructor Summary |
Die(String why)
Construct a new message explaining what has gone wrong. |
Die(String why,
Throwable cause)
Construct a new message explaining what has gone wrong. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Die
public Die(String why)
- Construct a new message explaining what has gone wrong.
- Parameters:
why - the message to show to the end-user.
Die
public Die(String why,
Throwable cause)
- Construct a new message explaining what has gone wrong.
- Parameters:
why - the message to show to the end-user.cause - why the command has failed.
Copyright © 2011. All Rights Reserved.