com.ibm.task.api
Class SystemFaultException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.task.api.TaskException
-
- com.ibm.task.api.SystemFaultException
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CannotCreateWorkItemException
public class SystemFaultException extends TaskException
Defines an exception which is thrown when during the execution of a task the Human Task Manager itself runs into an error situation. For example, the operation to be invoked for a task could not be located.- Since:
- 5.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
-
Constructor Summary
Constructors Constructor and Description SystemFaultException()
Constructs an exception object.SystemFaultException(java.lang.String message)
Constructs an exception object from the error message passed.SystemFaultException(java.lang.String key, java.lang.Object[] vars)
Deprecated.UseSystemFaultException(String, Object[], String)
instead.SystemFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.String id)
Constructs an exception object with the specified message key and remembers the values of the message variables passed.SystemFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed.SystemFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.Throwable cause)
Deprecated.SystemFaultException(java.lang.String catalog, java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed.SystemFaultException(java.lang.String message, java.lang.Throwable nested)
Constructs an exception object from the error message and the exception passed.SystemFaultException(java.lang.Throwable nested)
Constructs an exception object from the exception passed.
-
Method Summary
-
Methods inherited from class com.ibm.task.api.TaskException
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, printStackTrace, printStackTrace, printStackTrace
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SystemFaultException
public SystemFaultException(java.lang.String message)
Constructs an exception object from the error message passed.- Parameters:
message
- The error message.
-
SystemFaultException
public SystemFaultException(java.lang.String message, java.lang.Throwable nested)
Constructs an exception object from the error message and the exception passed.- Parameters:
message
- The error message.nested
- The exception that was thrown.
-
SystemFaultException
public SystemFaultException(java.lang.Throwable nested)
Constructs an exception object from the exception passed.- Parameters:
nested
- The exception that was thrown.
-
SystemFaultException
public SystemFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.String id)
Constructs an exception object with the specified message key and remembers the values of the message variables passed. The error message can thus localize the cause of the error.- Parameters:
key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.id
- The message id.
-
SystemFaultException
public SystemFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed. The error message can thus localize the cause of the error.- Parameters:
key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.id
- The message id.cause
- The exception that was thrown.
-
SystemFaultException
public SystemFaultException(java.lang.String catalog, java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed. The error message can thus localize the cause of the error.- Parameters:
catalog
- The catalog which have to be used to retrieve the message.key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.id
- The message id.cause
- The exception that was thrown.
-
SystemFaultException
public SystemFaultException(java.lang.String key, java.lang.Object[] vars)
Deprecated. UseSystemFaultException(String, Object[], String)
instead.Constructs an exception object with the specified message key and remembers the values of the message variables passed. The error message can thus localize the cause of the error.- Parameters:
key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
-
SystemFaultException
public SystemFaultException(java.lang.String key, java.lang.Object[] vars, java.lang.Throwable cause)
Deprecated. UseSystemFaultException(String, Object[], String, Throwable)
instead.Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed. The error message can thus localize the cause of the error.- Parameters:
key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.cause
- The exception that was thrown.
-
SystemFaultException
public SystemFaultException()
Constructs an exception object.
-
-