com.ibm.premises.reusable.exceptions
Class IllegalNewMandatoryInstanceAttributeException

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

public class IllegalNewMandatoryInstanceAttributeException
extends AssetRUCException

Thrown when a new mandatory attribute is created for an Asset Type when Assets of that Asset Type exist and no default value is given for the new attribute.

See Also:
Serialized Form

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

IllegalNewMandatoryInstanceAttributeException

public IllegalNewMandatoryInstanceAttributeException(int assetTypeId,
                                                     java.lang.String attributeName)
Method Detail

getAttributeName

public java.lang.String getAttributeName()

setAttributeName

public void setAttributeName(java.lang.String attributeName)

getAssetTypeId

public int getAssetTypeId()

setAssetTypeId

public void setAssetTypeId(int assetTypeId)


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