com.ibm.websphere.management.exception
Class InvalidAttributeNameException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.ws.exception.WsException
                    |
                    +--com.ibm.websphere.management.exception.AdminException
                          |
                          +--com.ibm.websphere.management.exception.ConfigServiceException
                                |
                                +--com.ibm.websphere.management.exception.InvalidAttributeNameException
All Implemented Interfaces:
java.io.Serializable, com.ibm.ws.exception.WsNestedException

public class InvalidAttributeNameException
extends ConfigServiceException

This exception is thrown if the attribute name or relationship name is not valid. In case the attribute is part of a nested attribute list, this exception contains the attribute name path from top.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.websphere.management.exception.ConfigServiceException
nls
 
Constructor Summary
InvalidAttributeNameException(java.lang.String attributeName)
           
InvalidAttributeNameException(java.lang.String[] attributePath)
          constructor
InvalidAttributeNameException(java.lang.String[] attributePath, java.lang.Exception cause)
           
InvalidAttributeNameException(java.lang.String attributeName, java.lang.Exception cause)
           
 
Method Summary
 java.lang.String[] getAttributePath()
           
 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, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidAttributeNameException

public InvalidAttributeNameException(java.lang.String[] attributePath)
constructor

Parameters:
attributePath - - the path of the attribute in a nested attribute list.

InvalidAttributeNameException

public InvalidAttributeNameException(java.lang.String[] attributePath,
                                     java.lang.Exception cause)

InvalidAttributeNameException

public InvalidAttributeNameException(java.lang.String attributeName)

InvalidAttributeNameException

public InvalidAttributeNameException(java.lang.String attributeName,
                                     java.lang.Exception cause)
Method Detail

getAttributePath

public java.lang.String[] getAttributePath()

getMessage

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


 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.