org.eclipse.jgit.pgm
Class Die

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.jgit.pgm.Die
All Implemented Interfaces:
java.io.Serializable

public class Die
extends java.lang.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(java.lang.String why)
          Construct a new message explaining what has gone wrong.
Die(java.lang.String why, java.lang.Throwable cause)
          Construct a new message explaining what has gone wrong.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Constructor Detail

Die

public Die(java.lang.String why)
Construct a new message explaining what has gone wrong.

Parameters:
why - the message to show to the end-user.

Die

public Die(java.lang.String why,
           java.lang.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.