Code example for PrivilegedActionException

Methods: getException

0
    /** {@inheritDoc} */ 
    public Object processInvocation(final InterceptorContext context) throws Exception {
        try { 
            return Subject.doAs(context.getPrivateData(Subject.class), context);
        } catch (PrivilegedActionException e) {
            throw e.getException();
        } 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE