Class WeldExceptionStringMessage

java.lang.Object
org.jboss.weld.exceptions.WeldExceptionStringMessage
All Implemented Interfaces:
Serializable, WeldExceptionMessage

public class WeldExceptionStringMessage extends Object implements Serializable, WeldExceptionMessage
Simple message object that just contains a String already formatted and localized.
Author:
David Allen
See Also:
  • Constructor Details

    • WeldExceptionStringMessage

      public WeldExceptionStringMessage(String message)

      Creates a new exception message initialized to a static message. Use this only for messages generated by third-party software, i.e., those which do not use enumerated message keys.

      Parameters:
      message - the static message
  • Method Details