Class LightweightError

java.lang.Object
java.lang.Throwable
java.lang.Error
rife.tools.exceptions.LightweightError
All Implemented Interfaces:
Serializable

public class LightweightError extends Error
An error that is intended to be as lightweight as possible.

Typically, this is used for ControlFlowRuntimeException exceptions so that as little overhead as possible is imposed when these exceptions are thrown. This is achieved by enforcing the stack traces to be empty, causing them to not be captured.

Since:
1.0
See Also: