play.exceptions
Class JavaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
play.exceptions.PlayException
play.exceptions.JavaException
- All Implemented Interfaces:
- java.io.Serializable, SourceAttachment
- Direct Known Subclasses:
- JavaExecutionException
public abstract class JavaException
- extends PlayException
- implements SourceAttachment
A Java exception
- 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 |
JavaException
public JavaException(ApplicationClasses.ApplicationClass applicationClass,
java.lang.Integer lineNumber,
java.lang.String message)
JavaException
public JavaException(ApplicationClasses.ApplicationClass applicationClass,
java.lang.Integer lineNumber,
java.lang.String message,
java.lang.Throwable cause)
getLineNumber
public java.lang.Integer getLineNumber()
- Specified by:
getLineNumber
in interface SourceAttachment
- Overrides:
getLineNumber
in class PlayException
getSource
public java.util.List<java.lang.String> getSource()
- Specified by:
getSource
in interface SourceAttachment
getSourceFile
public java.lang.String getSourceFile()
- Specified by:
getSourceFile
in interface SourceAttachment
- Overrides:
getSourceFile
in class PlayException
isSourceAvailable
public boolean isSourceAvailable()
- Overrides:
isSourceAvailable
in class PlayException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly