Package com.unboundid.util.args
Class ArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.unboundid.util.LDAPSDKException
com.unboundid.util.args.ArgumentException
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class ArgumentException
extends LDAPSDKException
This class defines an exception that may be thrown if a problem occurs while
parsing command line arguments or preparing the argument parser.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionArgumentException(String message) Creates a new argument exception with the provided message.ArgumentException(String message, Throwable cause) Creates a new argument exception with the provided message and cause. -
Method Summary
Methods inherited from class com.unboundid.util.LDAPSDKException
getExceptionMessage, getExceptionMessage, toString, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ArgumentException
Creates a new argument exception with the provided message.- Parameters:
message- The message to use for this exception.
-
ArgumentException
Creates a new argument exception with the provided message and cause.- Parameters:
message- The message to use for this exception.cause- The underlying exception that triggered this exception.
-