org.opends.server.admin
Class IllegalPropertyValueStringException

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.IllegalPropertyValueStringException
All Implemented Interfaces:
java.io.Serializable

public class IllegalPropertyValueStringException
extends PropertyException

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

See Also:
Serialized Form

Constructor Summary
IllegalPropertyValueStringException(PropertyDefinition<?> pd, java.lang.String value)
          Create a new illegal property value string exception.
 
Method Summary
 java.lang.String getIllegalValueString()
          Get the illegal property value string 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

IllegalPropertyValueStringException

public IllegalPropertyValueStringException(PropertyDefinition<?> pd,
                                           java.lang.String value)
Create a new illegal property value string exception.

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

getIllegalValueString

public final java.lang.String getIllegalValueString()
Get the illegal property value string that caused the exception.

Returns:
Returns the illegal property value string.