com.ibm.premises.reusable.exceptions
Class IllegalAssetTypeDeletionException

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

public class IllegalAssetTypeDeletionException
extends AssetRUCException

Thrown when a user tries to delete an Asset Type and there are subtypes of the Asset Type or there are Assets of the 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
IllegalAssetTypeDeletionException(boolean hasSubtype, boolean assetExists)
           
 
Method Summary
 boolean assetExists()
           
 boolean hasSubtype()
           
 void setAssetExists(boolean assetExists)
           
 void setHasSubtype(boolean hasSubtype)
           
 
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

IllegalAssetTypeDeletionException

public IllegalAssetTypeDeletionException(boolean hasSubtype,
                                         boolean assetExists)
Method Detail

assetExists

public boolean assetExists()

setAssetExists

public void setAssetExists(boolean assetExists)

hasSubtype

public boolean hasSubtype()

setHasSubtype

public void setHasSubtype(boolean hasSubtype)


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