All Downloads are FREE. Search and download functionalities are using the official Maven repository.

play.utils.FastRuntimeException Maven / Gradle / Ivy

There is a newer version: 2.6.2
Show newest version
package play.utils;

/**
 * Fast Exception - skips creating stackTrace.
 *
 * 

More info here. */ public class FastRuntimeException extends RuntimeException { public FastRuntimeException() { super(); } public FastRuntimeException(String desc) { super(desc); } public FastRuntimeException(String desc, Throwable cause) { super(desc, cause); } public FastRuntimeException(Throwable cause) { super(cause); } /** * Since we override this method, no stacktrace is generated - much faster * * @return always null */ @Override public Throwable fillInStackTrace() { return null; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy