Class OBErrorBuilder

  • public class OBErrorBuilder
    extends Object
    Provides facility methods to build OB messages (OBError).
    Valery Lezhebokov
    • Constructor Detail

      • OBErrorBuilder

        public OBErrorBuilder()
    • Method Detail

      • buildMessage

        public static OBError buildMessage​(OBError message,
                                           String type,
                                           String... messageText)
        Build the message based on the provided one or creates new message if a null was passed as a base message.
        message - a base massage.
        type - a message type.
        messageText - the text to put into the message.
        a built message.