public abstract class AFailFastException extends RuntimeException implements IFailFastException
Exception is a checked exception that would require try-catches, but RuntimeException is not.
To use checked exceptions would be against one of the purposes of the fail-fast principle (to avoid complex try-catch code).
The purpose of this is to ease the burden of concrete implementations.
To extend this in a concrete implementation is optional.
Modifier | Constructor and Description |
---|---|
protected |
AFailFastException(String message) |
protected |
AFailFastException(String message,
Throwable throwable) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
The MIT License (MIT) - Copyright © 2014-2015 Keld Oelykke. All Rights Reserved.