com.ibm.premises.reusable.exceptions
Class IllegalInstanceAttributeModificationException

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

public class IllegalInstanceAttributeModificationException
extends AssetRUCException

Thrown when a user tries to modify or delete an instance attribute of an Asset Type when Assets of that Asset Type exist. Note: the default value of an attribute is allowed to change even if there are Assets of that Asset Type.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.premises.reusable.exceptions.ReusableComponentException
message
 
Constructor Summary
IllegalInstanceAttributeModificationException(int assetTypeId, java.lang.String propertyName)
           
 
Method Summary
 int getAssetTypeId()
           
 java.lang.String getPropertyName()
           
 void setAssetTypeId(int assetTypeId)
           
 void setPropertyName(java.lang.String propertyName)
           
 
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

IllegalInstanceAttributeModificationException

public IllegalInstanceAttributeModificationException(int assetTypeId,
                                                     java.lang.String propertyName)
Method Detail

getAssetTypeId

public int getAssetTypeId()

setAssetTypeId

public void setAssetTypeId(int assetTypeId)

getPropertyName

public java.lang.String getPropertyName()

setPropertyName

public void setPropertyName(java.lang.String propertyName)


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