public ApplicationException wrap ( Throwable cause ) { if ( cause instanceof ApplicationException ) return ( ApplicationException ) cause ; this . withCause ( cause ) ; return this ; }
Wraps another exception into an application exception object .