|
|||||||||
| 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
|
+--javax.datamining.JDMException
|
+--javax.datamining.TaskException
The class TaskException extends JDMException
to indicate conditions where execution of Task cannot progress.
The errors codes to be used in association with TaskException
are:
JDM_TASK_EXECUTING
JDM_TASK_NOT_EXECUTING
JDM_TASK_FAILED
JDMErrorCodes,
JDMException,
Serialized Form| Field Summary |
| Constructor Summary | |
TaskException()
Creates an instance of TaskException. |
|
TaskException(int errorCode,
java.lang.String errorMessage)
Creates an instance of TaskException
with the specified message and error code. |
|
TaskException(int errorCode,
java.lang.String errorMessage,
int vendorCode,
java.lang.String vendorMessage)
Creates an instance of TaskException
with the specified message and error code together
with the vendor specific error code and message. |
|
| Methods inherited from class javax.datamining.JDMException |
getErrorCode, getVendorErrorCode, getVendorErrorMessage |
| 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 |
public TaskException()
TaskException.
The error message defaults to null and the error code to JDM_TASK_FAILED.
public TaskException(int errorCode,
java.lang.String errorMessage)
TaskException
with the specified message and error code.
errorCode - An integer to indicate the cause of the exceptionerrorMessage - A message that describes the exception
public TaskException(int errorCode,
java.lang.String errorMessage,
int vendorCode,
java.lang.String vendorMessage)
TaskException
with the specified message and error code together
with the vendor specific error code and message.
errorCode - An integer to indicate the cause of the exceptionerrorMessage - A message that describes the exceptionvendorCode - A vendor specific number to indicate the cause of the exceptionvendorMessage - A vendor specific message that describes the exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||