static boolean isFatal(GDSException ex){
  int iscErrorCode=ex.getFbErrorCode();
  return Arrays.binarySearch(FATAL_ERRORS,iscErrorCode) >= 0;
}

static boolean isFatal ( GDSException ex ) { int iscErrorCode = ex . getFbErrorCode ( ) ; return Arrays . binarySearch ( FATAL_ERRORS , iscErrorCode ) >= 0 ; }
check whether the specified exception is fatal from the jca point of view .
