public class ScrubberMessage extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ScrubberMessage(String m,
int t)
Constructs a ScrubberMessage instance
|
Modifier and Type | Method and Description |
---|---|
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
|
public static int TYPE_FATAL
public static int TYPE_WARNING
public ScrubberMessage(String m, int t)
m
- the messaget
- the type of messagepublic 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 setCopyright © 2004–2015 The Kuali Foundation. All rights reserved.