com.developmentontheedge.jobcontrol
Class JobControlException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.developmentontheedge.jobcontrol.JobControlException
All Implemented Interfaces:
java.io.Serializable

public class JobControlException
extends java.lang.Exception

JobControlException is used jointly with JobControl objects. This exception is occured when job wants to terminate job process.

See Also:
JobControl, Serialized Form

Constructor Summary
JobControlException(int status)
          Constructs JobControlException with specified status
JobControlException(int status, java.lang.String msg)
          Constructs JobControlException with specified status and message
JobControlException(java.lang.Throwable error)
          Constructs JobControlException with specified exception
 
Method Summary
 java.lang.Throwable getError()
          Returns occured exception or null
 int getStatus()
          Returns status of termination
 
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

JobControlException

public JobControlException(int status,
                           java.lang.String msg)
Constructs JobControlException with specified status and message

Parameters:
status - specified status
msg - specified message

JobControlException

public JobControlException(int status)
Constructs JobControlException with specified status

Parameters:
status - specified status

JobControlException

public JobControlException(java.lang.Throwable error)
Constructs JobControlException with specified exception

Parameters:
error - exception that occured during job process
Method Detail

getStatus

public int getStatus()
Returns status of termination

Returns:

getError

public java.lang.Throwable getError()
Returns occured exception or null

Returns:
occured exception or null


Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.