Class SoftException

All Implemented Interfaces:
Serializable

public class SoftException extends RuntimeException
Wrapper for checked exceptions matched by a 'declare soft'. You can soften checked exceptions at join points by using the form declare soft: TypePattern: Pointcut. At the join points, any exceptions thrown which match TypePattern will be wrapped in SoftException and rethrown. You can get the original exception using getWrappedThrowable() or getCause().
See Also:
Serialized Form