Interface WrapperGenerator.MessageInfo

Enclosing class:
WrapperGenerator

public static interface WrapperGenerator.MessageInfo
Hidden interface implemented by the result of the makeWrapper call. This is needed in the resource file generation tool.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a map from message ID to message for all exceptions defined in a @ExceptionWrapper interface.
  • Method Details

    • getMessageInfo

      Map<String,String> getMessageInfo()
      Return a map from message ID to message for all exceptions defined in a @ExceptionWrapper interface. The key in the result is the message ID, and the value is the message string (defined in @Message).
      Returns:
      map from message ID to message.