IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.projector
Class MetadataException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibm.websphere.projector.ProjectorException
                  extended by com.ibm.websphere.projector.MetadataException
All Implemented Interfaces:
Serializable

public class MetadataException
extends ProjectorException

Base exception for all entity metadata errors.

Since:
WAS XD 6.1
See Also:
Serialized Form

Constructor Summary
MetadataException()
           
MetadataException(String message)
           
MetadataException(String message, String entityName, String entityClassName, String attributeName)
           
MetadataException(String message, String entityName, String entityClassName, String attributeName, Throwable cause)
           
MetadataException(String message, Throwable cause)
           
MetadataException(Throwable cause)
           
 
Method Summary
 String getAttributeName()
          The name of the attribute that this exception refers to or null if the exception doesn't refer to an attribute.
 String getEntityClassName()
          The name of the entity metadata class that this exception refers to.
 String getEntityName()
          The name of the entity that this exception refers to.
 void setAttributeName(String attributeName)
          The name of the attribute that this exception refers to or null if the exception doesn't refer to an attribute.
 void setEntityClassName(String entityClassName)
          The name of the entity metadata class that this exception refers to.
 void setEntityName(String entityName)
          The name of the entity that this exception refers to.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetadataException

public MetadataException()
See Also:
ProjectorException.ProjectorException()

MetadataException

public MetadataException(String message)
See Also:
ProjectorException.ProjectorException(String)

MetadataException

public MetadataException(Throwable cause)
See Also:
ProjectorException.ProjectorException(Throwable)

MetadataException

public MetadataException(String message,
                         Throwable cause)
See Also:
ProjectorException.ProjectorException(String, Throwable)

MetadataException

public MetadataException(String message,
                         String entityName,
                         String entityClassName,
                         String attributeName)
See Also:
ProjectorException.ProjectorException(String)

MetadataException

public MetadataException(String message,
                         String entityName,
                         String entityClassName,
                         String attributeName,
                         Throwable cause)
See Also:
ProjectorException.ProjectorException(String, Throwable)
Method Detail

getAttributeName

public String getAttributeName()
The name of the attribute that this exception refers to or null if the exception doesn't refer to an attribute.

Returns:
the attributeName

setAttributeName

public void setAttributeName(String attributeName)
The name of the attribute that this exception refers to or null if the exception doesn't refer to an attribute.

Parameters:
attributeName - the attributeName to set

getEntityClassName

public String getEntityClassName()
The name of the entity metadata class that this exception refers to.

Returns:
the entityClassName

setEntityClassName

public void setEntityClassName(String entityClassName)
The name of the entity metadata class that this exception refers to.

Parameters:
entityClassName - the entityClassName to set

getEntityName

public String getEntityName()
The name of the entity that this exception refers to.

Returns:
the entityName

setEntityName

public void setEntityName(String entityName)
The name of the entity that this exception refers to.

Parameters:
entityName - the entityName to set

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.