java.lang.Objectjava.lang.Throwable
java.lang.Exception
ucot.model.AnalyzeModelException
ucot.model.NoSuchAttributeException
public class NoSuchAttributeException
General exception used when attribute isn't found
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 |
---|
private static final long serialVersionUID
java.lang.String entityName
java.lang.String attributeName
Constructor Detail |
---|
public NoSuchAttributeException(java.lang.String entityName, java.lang.String attributeName)
public NoSuchAttributeException(java.lang.String entityName, java.lang.String attributeName, java.lang.String message)
public NoSuchAttributeException(java.lang.String entityName, java.lang.String attributeName, java.lang.Throwable cause)
public NoSuchAttributeException(java.lang.String entityName, java.lang.String attributeName, java.lang.String message, java.lang.Throwable cause)
Method Detail |
---|
private static java.lang.String buildMessage(java.lang.String entityName, java.lang.String attributeName)
Builds message for the error.
entityName
- The entity name used in the error.
private void setInternals(java.lang.String entityName, java.lang.String attributeName)