import java.security.*; class Lubaja2 extends SecurityManager{ public void checkPermission(Permission p){ System.out.println(p); try{ super.checkPermission(p); } catch(Exception e){ System.out.println("Probleem: "+e); } } }