public TextOutputCallback(int messageType,String message){
  if ((messageType != INFORMATION && messageType != WARNING && messageType != ERROR) || message == null || message.length() == 0)   throw new IllegalArgumentException();
  this.messageType=messageType;
  this.message=message;
}

public TextOutputCallback ( int messageType , String message ) { if ( ( messageType != INFORMATION && messageType != WARNING && messageType != ERROR ) || message == null || message . length ( ) == 0 ) throw new IllegalArgumentException ( ) ; this . messageType = messageType ; this . message = message ; }
construct a textoutputcallback with a message type and message to be displayed . < p >
