public ScannerException(ErrorMessages message){
  this(null,ErrorMessages.get(message),message,-1,-1);
}

public ScannerException ( ErrorMessages message ) { this ( null , ErrorMessages . get ( message ) , message , - 1 , - 1 ) ; }
creates a new scannerexception with a message only .
