play.utils
Class FastRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
play.utils.FastRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Result
public class FastRuntimeException
- extends java.lang.RuntimeException
Fast Exception - skips creating stackTrace.
More info here: http://www.javaspecialists.eu/archive/Issue129.html
- See Also:
- Serialized Form
Method Summary |
java.lang.Throwable |
fillInStackTrace()
Since we override this method, no stacktrace is generated - much faster |
Methods inherited from class java.lang.Throwable |
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 |
FastRuntimeException
public FastRuntimeException()
FastRuntimeException
public FastRuntimeException(java.lang.String desc)
FastRuntimeException
public FastRuntimeException(java.lang.String desc,
java.lang.Throwable cause)
FastRuntimeException
public FastRuntimeException(java.lang.Throwable cause)
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Since we override this method, no stacktrace is generated - much faster
- Overrides:
fillInStackTrace
in class java.lang.Throwable
- Returns:
- always null
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly