com.unboundid.util.args
Class ArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.unboundid.util.LDAPSDKException
              extended by com.unboundid.util.args.ArgumentException
All Implemented Interfaces:
java.io.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:
Serialized Form

Constructor Summary
ArgumentException(java.lang.String message)
          Creates a new argument exception with the provided message.
ArgumentException(java.lang.String message, java.lang.Throwable cause)
          Creates a new argument exception with the provided 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

ArgumentException

public ArgumentException(java.lang.String message)
Creates a new argument exception with the provided message.

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

ArgumentException

public ArgumentException(java.lang.String message,
                         java.lang.Throwable cause)
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.