Class TaskException

  • All Implemented Interfaces:
    java.io.Serializable

    @NotMutable
    @ThreadSafety(level=COMPLETELY_THREADSAFE)
    public final class TaskException
    extends LDAPSDKException
    This class defines an exception that may be thrown while interacting with scheduled tasks.
    NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      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 java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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.