public ManagementPermission(String name){
  super(name);
  if (!name.equals("control") && !name.equals("monitor")) {
    throw new IllegalArgumentException("name: " + name);
  }
}

public ManagementPermission ( String name ) { super ( name ) ; if ( ! name . equals ( "control" ) && ! name . equals ( "monitor" ) ) { throw new IllegalArgumentException ( "name: " + name ) ; } }
constructs a managementpermission with the specified name .
