Package Summary  Overview Summary

class:TextOutputCallback [NONE]

field:INFORMATION [NONE]

field:WARNING [NONE]

field:ERROR [NONE]

constructor:<init>(int,java.lang.String) [NONE]

  • TextOutputCallback

    public TextOutputCallback​(int messageType,
                              String message)
    Construct a TextOutputCallback with a message type and message to be displayed.
    Parameters:
    messageType - the message type (INFORMATION, WARNING or ERROR).
    message - the message to be displayed.
    Throws:
    IllegalArgumentException - if messageType is not either INFORMATION, WARNING or ERROR, if message is null, or if message has a length of 0.

method:getMessageType() [NONE]

  • getMessageType

    public int getMessageType()
    Get the message type.
    Returns:
    the message type (INFORMATION, WARNING or ERROR).

method:getMessage() [NONE]

  • getMessage

    public String getMessage()
    Get the message to be displayed.
    Returns:
    the message to be displayed.

© 2019 Oracle Corporation and/or its affiliates