org.opends.server.util.args
Class ArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opends.server.types.OpenDsException
              extended by org.opends.server.types.IdentifiedException
                  extended by org.opends.server.util.args.ArgumentException
All Implemented Interfaces:
java.io.Serializable

public class ArgumentException
extends IdentifiedException

This class defines an exception that may be thrown if there is a problem with an argument definition.

See Also:
Serialized Form

Constructor Summary
ArgumentException(Message message)
          Creates a new argument exception with the provided message.
ArgumentException(Message message, java.lang.Throwable cause)
          Creates a new argument exception with the provided message and root cause.
 
Method Summary
 
Methods inherited from class org.opends.server.types.OpenDsException
getMessageObject
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArgumentException

public ArgumentException(Message message)
Creates a new argument exception with the provided message.

Parameters:
message - The message that explains the problem that occurred.

ArgumentException

public ArgumentException(Message message,
                         java.lang.Throwable cause)
Creates a new argument exception with the provided message and root cause.

Parameters:
message - The message that explains the problem that occurred.
cause - The exception that was caught to trigger this exception.