ucot.model
Class NoSuchMethodException

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

public class NoSuchMethodException
extends AnalyzeModelException

Error which is thrown when requested method is not found.

Author:
pajumasu
See Also:
Serialized Form

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


methodName

java.lang.String methodName
The name of the method

Constructor Detail

NoSuchMethodException

public NoSuchMethodException(java.lang.String entityName,
                             java.lang.String methodName)

NoSuchMethodException

public NoSuchMethodException(java.lang.String entityName,
                             java.lang.String methodName,
                             java.lang.String message)

NoSuchMethodException

public NoSuchMethodException(java.lang.String entityName,
                             java.lang.String methodName,
                             java.lang.Throwable cause)

NoSuchMethodException

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

buildMessage

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

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 methodName)