Creates a new BasicPermission with the specified name.
Name is the symbolic name of the permission, such as
"setFactory",
"print.queueJob", or "topLevelWindow", etc.
@param name the name of the BasicPermission.
@throws NullPointerException if {@code name} is {@code null}.
@throws IllegalArgumentException if {@code name} is empty.
Creates a new BasicPermission with the specified name. Name is the symbolic name of the permission, such as "setFactory", "print.queueJob", or "topLevelWindow", etc.
@param name the name of the BasicPermission.
@throws NullPointerException if {@code name} is {@code null}. @throws IllegalArgumentException if {@code name} is empty.