ua.gradsoft.javachecker
Class EntityNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ua.gradsoft.javachecker.EntityNotFoundException
- All Implemented Interfaces:
- java.io.Serializable, SourceCodeLocation
public class EntityNotFoundException
- extends java.lang.Exception
- implements SourceCodeLocation
Throwed when we can't find some entity in model-s findXXX method.
(for example - method with some name)
- Author:
- Ruslan Shevchenko
- See Also:
- Serialized Form
| 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 |
EntityNotFoundException
public EntityNotFoundException(java.lang.String entityType,
java.lang.String entityName,
java.lang.String msg)
EntityNotFoundException
public EntityNotFoundException(java.lang.String entityType,
java.lang.String entityName,
java.lang.String msg,
FileAndLine fileAndLine)
EntityNotFoundException
public EntityNotFoundException(java.lang.String entityType,
java.lang.String entityName,
java.lang.String msg,
FileAndLine fileAndLine,
java.lang.Exception ex)
getEntityName
public java.lang.String getEntityName()
- return name of entity which was not found.
getFileAndLine
public FileAndLine getFileAndLine()
- Specified by:
getFileAndLine in interface SourceCodeLocation
setFileAndLine
public void setFileAndLine(FileAndLine fileAndLine)
- Specified by:
setFileAndLine in interface SourceCodeLocation