com.sun.slamd.job
Class UnableToRunException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sun.slamd.common.SLAMDException
              extended bycom.sun.slamd.job.UnableToRunException
All Implemented Interfaces:
java.io.Serializable

public class UnableToRunException
extends SLAMDException

This class defines an exception that may be thrown if an attempt is made to start a job that is unable to run for some reason.

See Also:
Serialized Form

Constructor Summary
UnableToRunException(java.lang.String message)
          Creates a new exception that may be thrown if an attempt is made to start a job that is unable to run.
UnableToRunException(java.lang.String message, java.lang.Exception parentException)
          Creates a new exception that may be thrown if an attempt is made to start a job that is unable to run.
 
Method Summary
 java.lang.Exception getParentException()
          Retrieves the parent exception that triggered this unable to run exception.
 
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

UnableToRunException

public UnableToRunException(java.lang.String message)
Creates a new exception that may be thrown if an attempt is made to start a job that is unable to run.

Parameters:
message - A message providing information about the exception.

UnableToRunException

public UnableToRunException(java.lang.String message,
                            java.lang.Exception parentException)
Creates a new exception that may be thrown if an attempt is made to start a job that is unable to run.

Parameters:
message - A message providing information about the exception.
parentException - The parent exception that triggered this unable to run exception.
Method Detail

getParentException

public java.lang.Exception getParentException()
Retrieves the parent exception that triggered this unable to run exception.

Overrides:
getParentException in class SLAMDException
Returns:
The parent exception that triggered this unable to run exception, or null if no parent exception is available.