com.ibm.websphere.management.exception

Class ReadOnlyAttributeException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.ws.exception.WsException
  5. extended bycom.ibm.websphere.management.exception.AdminException
  6. extended bycom.ibm.websphere.management.exception.ConfigServiceException
  7. extended bycom.ibm.websphere.management.exception.ReadOnlyAttributeException
All implemented interfaces:
com.ibm.ws.exception.WsNestedException, java.io.Serializable

  1. public class ReadOnlyAttributeException
  2. extends ConfigServiceException
This exception is thrown if the attribute is read only attribute and user tries to modify the attribute.
See Also:
Serialized Form

Field Summary

Fields inherited from class com.ibm.websphere.management.exception.ConfigServiceException
nls

Constructor Summary

Constructor and Description
ReadOnlyAttributeException(java.lang.String attributeName)
ReadOnlyAttributeException(java.lang.String[] attributePath)
constructor
ReadOnlyAttributeException(java.lang.String[] attributePath,java.lang.Exception cause)
ReadOnlyAttributeException(java.lang.String attributeName,java.lang.Exception cause)

Method Summary

Modifier and Type Method and Description
  1. java.lang.String[]
getAttributePath()
  1. java.lang.String
getMessage()
Methods inherited from class com.ibm.websphere.management.exception.AdminException
getAdminException, printStackTrace, printStackTrace
Methods inherited from class com.ibm.ws.exception.WsException
getCause, initCause
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

ReadOnlyAttributeException

  1. public ReadOnlyAttributeException( java.lang.String[] attributePath)
constructor
Parameters:
attributePath - - the path of the attribute in a nested attribute list.

ReadOnlyAttributeException

  1. public ReadOnlyAttributeException( java.lang.String[] attributePath,
  2. java.lang.Exception cause)

ReadOnlyAttributeException

  1. public ReadOnlyAttributeException( java.lang.String attributeName)

ReadOnlyAttributeException

  1. public ReadOnlyAttributeException( java.lang.String attributeName,
  2. java.lang.Exception cause)

Method Detail

getAttributePath

  1. public java.lang.String[] getAttributePath( )

getMessage

  1. public java.lang.String getMessage( )
Overrides:
getMessage in class java.lang.Throwable