public boolean isHigherLevel ( Level other ) throws NullPointerException { if ( other == null ) throw new NullPointerException ( "other is null" ) ; return this . level < other . level ; }
Determine if this Level object represents a level that is higher or more severe that some other Level object . For the purposes of the comparison OFF is considered a higher level than SEVERE .