Code example for PrivilegedActionException

Methods: getException

0
                            } 
                        }); 
            } catch (PrivilegedActionException ex) {
                throw new RuntimeException(
                        "Invalid function mapping - no such method: " 
                                + ex.getException().getMessage());
            } 
        } else { 
            try { 
                method = c.getDeclaredMethod(methodName, args);
            } catch (NoSuchMethodException e) {
                throw new RuntimeException(
                        "Invalid function mapping - no such method: " 
                                + e.getMessage());
            } 
        } 
 
        this.fnmap.put(fnQName, method);
    } 
 
    /**