private void init(int max) {
        if ((max != INTERNAL) && (max != PROVIDER) && (max != PRIVILEGED))
            throw new IllegalArgumentException("invalid action");

        if (max == NONE)
            throw new IllegalArgumentException("missing action");

        if (getName() == null)
            throw new NullPointerException("action can't be null");

        this.max = max;
    }
private void init ( int max ) { if ( ( max != INTERNAL ) && ( max != PROVIDER ) && ( max != PRIVILEGED ) ) throw new IllegalArgumentException ( "invalid action" ) ; if ( max == NONE ) throw new IllegalArgumentException ( "missing action" ) ; if ( getName ( ) == null ) throw new NullPointerException ( "action can't be null" ) ; this . max = max ; }
initialize a WebSphereSecurityPermission object. Common to all constructors.

@param max the most privileged permission to use.