|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.businessobject.ScrubberMessage
public class ScrubberMessage
A class that holds an error message that would have been encountered during a GL batch job
Field Summary | |
---|---|
static int |
TYPE_FATAL
To mark Fatal errors, ones that should abend a batch process |
static int |
TYPE_WARNING
To mark warning errors, ones that should simply be logged but not abend the process |
Constructor Summary | |
---|---|
ScrubberMessage(String m,
int t)
Constructs a ScrubberMessage instance |
Method Summary | |
---|---|
String |
getMessage()
Returns the error message of this object |
int |
getType()
Returns the error type for this object |
void |
setMessage(String message)
Sets the error message for this object |
void |
setType(int type)
Sets the error type for this object |
String |
toString()
Returns the message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int TYPE_FATAL
public static int TYPE_WARNING
Constructor Detail |
---|
public ScrubberMessage(String m, int t)
m
- the messaget
- the type of messageMethod Detail |
---|
public String toString()
toString
in class Object
Object.toString()
public String getMessage()
public void setMessage(String message)
message
- the message to setpublic int getType()
public void setType(int type)
type
- an error type to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |