Class TerminateToolException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by
All Implemented Interfaces:

public class TerminateToolException
extends RuntimeException

Exception to terminate the execution of a command line tool.

The exception should be thrown to indicate that the VM should be terminated with the specified error code, instead of just calling System.exit(int).

Note: Do not use this class, internal use only!

See Also:
Serialized Form

Constructor Summary
TerminateToolException(int code)
Method Summary
 int getCode()
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


public TerminateToolException(int code)
Method Detail


public int getCode()

Copyright © 2010. All Rights Reserved.