public void setName ( String name ) { if ( name == null || name . isEmpty ( ) ) { throw new IllegalContextNameException ( IllegalContextNameException . Reason . EMPTY_NAME , "The context name must not be null nor empty." ) ; } this . name = name ; }
Sets the name of the context .