/**
* @tests java.security.PrivilegedActionException#PrivilegedActionException(java.lang.Exception)
*/
public void test_ConstructorLjava_lang_Exception() {
Exception e = new Exception("test exception");
PrivilegedActionException pe = new PrivilegedActionException(e);
assertEquals("Did not encapsulate test exception!", e, pe
.getException());
// try it with a null exception
pe = new PrivilegedActionException(null);
assertNull("Did not encapsulate null test exception properly!", pe
.getException());
}