org.opends.server.admin
Class IllegalPropertyValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.opends.server.admin.AdminRuntimeException
                  extended by org.opends.server.admin.PropertyException
                      extended by org.opends.server.admin.IllegalPropertyValueException
All Implemented Interfaces:
java.io.Serializable

public class IllegalPropertyValueException
extends PropertyException

Thrown to indicate that a property value was invalid according to its associated property definition.

See Also:
Serialized Form

Constructor Summary
IllegalPropertyValueException(PropertyDefinition<?> pd, java.lang.Object value)
          Create a new illegal property value exception.
 
Method Summary
 java.lang.Object getIllegalValue()
          Get the illegal property value that caused the exception.
 
Methods inherited from class org.opends.server.admin.PropertyException
getPropertyDefinition
 
Methods inherited from class org.opends.server.admin.AdminRuntimeException
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

IllegalPropertyValueException

public IllegalPropertyValueException(PropertyDefinition<?> pd,
                                     java.lang.Object value)
Create a new illegal property value exception.

Parameters:
pd - The property definition.
value - The illegal property value.
Method Detail

getIllegalValue

public final java.lang.Object getIllegalValue()
Get the illegal property value that caused the exception.

Returns:
Returns the illegal property value.