-
Notifications
You must be signed in to change notification settings - Fork 2
SoftException
SoftExeption
is a RuntimeException
type, one of the few ones provided by Staccatissimo, that exists not to add extra semantics to the exception, but to make it uncheked, and a hub of class methods for performing wrappings and unwrapping to and from it in a convenient way that does not unnecessary polute the exception stacktrace.
The discussion of checked vs uncheked exception in tha Java language has a long history. If you, like StaccatoCommons, consider it is a code smell in most if not all scenarios, rather than a language feature, continue reading, because it is a Staccatissimo core class. It is frequently used and you may find usefull. Otherwise, skip the rest of this section, and just avoid using it.
TODO
Since function-like interface provided by Staccatissimo-Defs do not throw any checked exception, TODO