arq.cmd
Class TerminationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by arq.cmd.CmdException
                  extended by arq.cmd.TerminationException
All Implemented Interfaces:
java.io.Serializable

public class TerminationException
extends CmdException

Exception used to indicate that the command should end now. Use instead of System.exit so that a wrapper can catch (else a command server wil exit wrongly).

Author:
Andy Seaborne
See Also:
Serialized Form

Field Summary
 int returnCode
           
 
Constructor Summary
TerminationException(int rc)
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

returnCode

public int returnCode
Constructor Detail

TerminationException

public TerminationException(int rc)
Method Detail

getCode

public int getCode()


Copyright © 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP