ucot.model
Class NoSuchEntityException

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

public class NoSuchEntityException
extends AnalyzeModelException

Error which is thrown if no entity of given name is found.

Author:
pajumasu
See Also:
Serialized Form

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

Constructor Detail

NoSuchEntityException

public NoSuchEntityException(java.lang.String entityName)

NoSuchEntityException

public NoSuchEntityException(java.lang.String entityName,
                             java.lang.String message)

NoSuchEntityException

public NoSuchEntityException(java.lang.String entityName,
                             java.lang.Throwable cause)

NoSuchEntityException

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

buildMessage

protected static java.lang.String buildMessage(java.lang.String entityName)

Builds message for the error.

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