com.unboundid.ldap.sdk.unboundidds.tasks
Class TaskException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.unboundid.util.LDAPSDKException
              extended by com.unboundid.ldap.sdk.unboundidds.tasks.TaskException
All Implemented Interfaces:
java.io.Serializable

@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class TaskException
extends LDAPSDKException

NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.
This class defines an exception that may be thrown while interacting with scheduled tasks.

See Also:
Serialized Form

Constructor Summary
TaskException(java.lang.String message)
          Creates a new task exception with the specified message.
TaskException(java.lang.String message, java.lang.Throwable cause)
          Creates a new task exception with the specified message and cause.
 
Method Summary
 
Methods inherited from class com.unboundid.util.LDAPSDKException
getExceptionMessage, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskException

public TaskException(java.lang.String message)
Creates a new task exception with the specified message.

Parameters:
message - The message to use for this task exception.

TaskException

public TaskException(java.lang.String message,
                     java.lang.Throwable cause)
Creates a new task exception with the specified message and cause.

Parameters:
message - The message to use for this task exception.
cause - The underlying exception that triggered this task exception.