public int errorType ( ) { if ( ! isError ( ) ) { throw new IllegalStateException ( "Message is not an error" ) ; } try { return Integer . parseInt ( Qualifier . getQualifierAction ( qualifier ( ) ) ) ; } catch ( NumberFormatException e ) { throw new IllegalStateException ( "Error type must be a number" ) ; } }
Returns error type . Error type is an identifier of a group of errors .