com.ibm.premises.reusable.exceptions
Class InvalidAssetPropertyValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.premises.reusable.exceptions.ReusableComponentException
              extended by com.ibm.premises.reusable.exceptions.AssetRUCException
                  extended by com.ibm.premises.reusable.exceptions.InvalidAssetPropertyValueException
All Implemented Interfaces:
java.io.Serializable

public class InvalidAssetPropertyValueException
extends AssetRUCException

Thrown when a user updates the property of an Asset with a value that does not match the data type for the property.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.premises.reusable.exceptions.ReusableComponentException
message
 
Constructor Summary
InvalidAssetPropertyValueException(java.lang.String dataType, java.lang.String givenValue)
           
 
Method Summary
 java.lang.String getDataType()
           
 java.lang.String getGivenValue()
           
 void setDataType(java.lang.String dataType)
           
 void setGivenValue(java.lang.String givenValue)
           
 
Methods inherited from class com.ibm.premises.reusable.exceptions.ReusableComponentException
getMessage, setMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

InvalidAssetPropertyValueException

public InvalidAssetPropertyValueException(java.lang.String dataType,
                                          java.lang.String givenValue)
Method Detail

getDataType

public java.lang.String getDataType()

setDataType

public void setDataType(java.lang.String dataType)

getGivenValue

public java.lang.String getGivenValue()

setGivenValue

public void setGivenValue(java.lang.String givenValue)


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.