public interface Message
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR
Error message type.
|
static int |
INFO
Informative message type.
|
static int |
WARNING
Warning message type.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getElements()
The elements involved in the error (the error context).
|
String |
getMessage(Locale l)
A string representation of the error for the given locale.
|
String |
getMessageCode()
The error code.
|
int |
getMessageType()
Get the message type.
|
boolean |
isEditable()
Returns true if this message refers to an editable element
|
void |
setElements(Object[] elements) |
void |
setMessageCode(String errorCode) |
static final int ERROR
static final int WARNING
static final int INFO
Object[] getElements()
void setElements(Object[] elements)
String getMessageCode()
void setMessageCode(String errorCode)
int getMessageType()
boolean isEditable()
Copyright © 2012–2015 JBoss by Red Hat. All rights reserved.