ucot.model
Class NoSuchAttributeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ucot.model.AnalyzeModelException
              extended by ucot.model.NoSuchAttributeException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchAttributeException
extends AnalyzeModelException

General exception used when attribute isn't found

Author:
tujupien
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String attributeName
          The name of the method
(package private)  java.lang.String entityName
          The name of the entity.
private static long serialVersionUID
           
 
Constructor Summary
NoSuchAttributeException(java.lang.String entityName, java.lang.String attributeName)
           
NoSuchAttributeException(java.lang.String entityName, java.lang.String attributeName, java.lang.String message)
           
NoSuchAttributeException(java.lang.String entityName, java.lang.String attributeName, java.lang.String message, java.lang.Throwable cause)
           
NoSuchAttributeException(java.lang.String entityName, java.lang.String attributeName, java.lang.Throwable cause)
           
 
Method Summary
private static java.lang.String buildMessage(java.lang.String entityName, java.lang.String attributeName)
          Builds message for the error.
private  void setInternals(java.lang.String entityName, java.lang.String attributeName)
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

entityName

java.lang.String entityName
The name of the entity.


attributeName

java.lang.String attributeName
The name of the method

Constructor Detail

NoSuchAttributeException

public NoSuchAttributeException(java.lang.String entityName,
                                java.lang.String attributeName)

NoSuchAttributeException

public NoSuchAttributeException(java.lang.String entityName,
                                java.lang.String attributeName,
                                java.lang.String message)

NoSuchAttributeException

public NoSuchAttributeException(java.lang.String entityName,
                                java.lang.String attributeName,
                                java.lang.Throwable cause)

NoSuchAttributeException

public NoSuchAttributeException(java.lang.String entityName,
                                java.lang.String attributeName,
                                java.lang.String message,
                                java.lang.Throwable cause)
Method Detail

buildMessage

private static java.lang.String buildMessage(java.lang.String entityName,
                                             java.lang.String attributeName)

Builds message for the error.

Parameters:
entityName - The entity name used in the error.
Returns:
The error message string.

setInternals

private void setInternals(java.lang.String entityName,
                          java.lang.String attributeName)