|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.dms.util.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 | |
|---|---|
Object |
deepClone()
Returns a deep clone of this object. |
protected void |
deepCloneInto(Message other)
Clones all fields of this into |
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 parameters
public Message(MessageDescription description,
Object parameter1,
Object parameter2)
description - the message descriptionparameter1 - the first parameterparameter2 - the second parameter
public Message(MessageDescription description,
Object parameter)
description - the message descriptionparameter - the parameterpublic Message(MessageDescription description)
description - the message description| Method Detail |
|---|
public MessageDescription getDescription()
public Object[] getParams()
public int getSeverityLevel()
public String getMessage()
public Object deepClone()
deepClone in interface DeepCloneableprotected void deepCloneInto(Message other)
other
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||