|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException
public class TaskManagerException
Generic Task Manager Service exception. This exception is inherited by many other more specific Task Manager exceptions.
Constructor Summary | |
---|---|
TaskManagerException()
Default constructor. |
|
TaskManagerException(long aTaskId,
java.lang.String aMessage)
Creates a new exception with the specified task identifier and message. |
|
TaskManagerException(long aTaskId,
java.lang.Throwable aException)
Creates a exception with the specified root exception. |
|
TaskManagerException(java.lang.String aMessage)
Creates a new exception with the specified message. |
|
TaskManagerException(java.lang.String aMessage,
java.lang.StackTraceElement[] aStackTrace)
|
|
TaskManagerException(java.lang.Throwable aException)
Creates a new exception with the specified root exception. |
|
TaskManagerException(java.lang.Throwable aException,
java.lang.String aMessage)
Creates a exception with the specified root exception and message. |
Method Summary | |
---|---|
java.lang.String |
getLocalizedMessage()
Retrieves the localized description of this exception. |
java.lang.String |
getMessage()
Retrieves the error message for this exception. |
java.lang.Throwable |
getRootCause()
Retrieves the root exception. |
long |
getTaskId()
Retrieves the task identifier associated with this exception, if it exists. |
void |
printStackTrace()
Prints this exception and its stack trace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream ps)
Prints this exception and its stack trace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter pw)
Prints this exception and its stack trace to the specified print writer. |
java.lang.String |
toString()
Retrieves the short description of this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskManagerException()
public TaskManagerException(java.lang.String aMessage)
aMessage
- The error message.public TaskManagerException(java.lang.String aMessage, java.lang.StackTraceElement[] aStackTrace)
public TaskManagerException(long aTaskId, java.lang.String aMessage)
aTaskId
- The task identifier.aMessage
- The error message.public TaskManagerException(java.lang.Throwable aException, java.lang.String aMessage)
aException
- The root exception.aMessage
- The error message.public TaskManagerException(long aTaskId, java.lang.Throwable aException)
aException
- The root exception.aTaskId
- The task identifier.public TaskManagerException(java.lang.Throwable aException)
aException
- The root exception.Method Detail |
---|
public long getTaskId()
0
if no associated task exists.public java.lang.Throwable getRootCause()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
ps
- The print stream.public void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
pw
- The print writer.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |