|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.compiler.tools.common.Message
public class Message
This class represents the root class for all kopic errors
Constructor Summary | |
---|---|
Message(MessageDescription description)
Constructs a message without parameters |
|
Message(MessageDescription description,
Object parameter)
Constructs a message with one parameter |
|
Message(MessageDescription description,
Object[] parameters)
Constructs a message with an arbitrary number of parameters |
|
Message(MessageDescription description,
Object parameter1,
Object parameter2)
Constructs a message with two parameters |
Method Summary | |
---|---|
MessageDescription |
getDescription()
Returns the message description. |
String |
getMessage()
Returns the string explaining the error |
Object[] |
getParams()
Returns the message description. |
int |
getSeverityLevel()
Returns the severity level |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Message(MessageDescription description, Object[] parameters)
description
- the message descriptionparameters
- the array of parameterspublic Message(MessageDescription description, Object parameter1, Object parameter2)
description
- the message descriptionparameter1
- the first parameterparameter2
- the second parameterpublic Message(MessageDescription description, Object parameter)
description
- the message descriptionparameter
- the parameterpublic Message(MessageDescription description)
description
- the message descriptionMethod Detail |
---|
public MessageDescription getDescription()
public Object[] getParams()
public int getSeverityLevel()
public String getMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |