throw new SecurityException
("PrincipalExpansionError test incorrectly set up:" + se);
}
try {
Subject.doAs(s, new PrincipalExpansionErrorAction());
// test failed
System.out.println("PrincipalExpansionError test failed");
throw new SecurityException("PrincipalExpansionError test failed");