Package org.openbravo.erpCommon.utility
Class OBErrorBuilder
- java.lang.Object
-
- org.openbravo.erpCommon.utility.OBErrorBuilder
-
-
Constructor Summary
Constructors Constructor Description OBErrorBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OBError
buildMessage(OBError message, String type, String... messageText)
Build the message based on the provided one or creates new message if anull
was passed as a base message.
-
-
-
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 anull
was passed as a base message.- Parameters:
message
- a base massage.type
- a message type.messageText
- the text to put into the message.- Returns:
- a built message.
-
-