public class WeldExceptionStringMessage extends Object implements Serializable, WeldExceptionMessage
Constructor and Description |
---|
WeldExceptionStringMessage(String message)
Creates a new exception message initialized to a static message.
|
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.
message
- the static messagepublic String getAsString()
WeldExceptionMessage
getAsString
in interface WeldExceptionMessage
Copyright © 2012 Seam Framework. All Rights Reserved.