com.adobe.idp.taskmanager.dsc.client.task
Class TaskManagerRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.adobe.idp.taskmanager.dsc.client.task.TaskManagerRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class TaskManagerRuntimeException
extends java.lang.RuntimeException

Runtime exception thrown from TaskManager for unhandled exceptions.

See Also:
Serialized Form

Constructor Summary
TaskManagerRuntimeException(long aTaskId, java.lang.Throwable t)
          Constructs a new exception using the specified task identifier and Throwable exception.
TaskManagerRuntimeException(java.lang.String message)
          Constructs a new exception using the specified error message.
TaskManagerRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause)
           
TaskManagerRuntimeException(java.lang.Throwable t)
          Constructs a new exception from a Throwable exception.
 
Method Summary
 long getTaskId()
          Retrieves the task identifier for this exception.
 boolean isRetryable()
           
 void setRetryable(boolean aRetryable)
           
 
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
 

Constructor Detail

TaskManagerRuntimeException

public TaskManagerRuntimeException(java.lang.String message)
Constructs a new exception using the specified error message.

Parameters:
message - The error message.

TaskManagerRuntimeException

public TaskManagerRuntimeException(java.lang.Throwable t)
Constructs a new exception from a Throwable exception.

Parameters:
t - The Throwable exception.

TaskManagerRuntimeException

public TaskManagerRuntimeException(long aTaskId,
                                   java.lang.Throwable t)
Constructs a new exception using the specified task identifier and Throwable exception.

Parameters:
aTaskId - The task identifier.
t - The Throwable exception.

TaskManagerRuntimeException

public TaskManagerRuntimeException(java.lang.String aMessage,
                                   java.lang.Throwable aCause)
Method Detail

getTaskId

public long getTaskId()
Retrieves the task identifier for this exception.

Returns:
taskid The task identifier.

isRetryable

public boolean isRetryable()

setRetryable

public void setRetryable(boolean aRetryable)


[an error occurred while processing this directive] [an error occurred while processing this directive]