public class Message extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Message.MessageLevel
The importance of the message.
|
static class |
Message.MessageType
Defines all the possible information and warning messages.
|
| Modifier and Type | Field and Description |
|---|---|
Object[] |
arguments
Additional arguments to this message, used to format the human-readable string.
|
String |
cssPath
CSS file to which this message refers or
null. |
Message.MessageLevel |
level
Importance of this message.
|
int |
line
Line number to which this message refers, meaningful only if
cssPath is
not null. |
Message.MessageType |
type
Semantics of the message.
|
| Constructor and Description |
|---|
Message(Message.MessageLevel level,
Message.MessageType type,
String cssPath,
int line,
Object... arguments)
Creates a new message, see field descriptions for details.
|
| Modifier and Type | Method and Description |
|---|---|
static Message |
error(Message.MessageType type,
Object... arguments) |
String |
getFormattedMessage() |
String |
toString() |
static Message |
warn(Message.MessageType type,
Object... arguments) |
public final Message.MessageLevel level
public final Message.MessageType type
public final String cssPath
null.public final int line
cssPath is
not null.public final Object[] arguments
public Message(Message.MessageLevel level, Message.MessageType type, String cssPath, int line, Object... arguments)
public static Message warn(Message.MessageType type, Object... arguments)
public static Message error(Message.MessageType type, Object... arguments)
public String getFormattedMessage()
Copyright © 2013 Carrot Search s.c.. All Rights Reserved.