public class Notice extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SEVERITY_DEBUG |
static int |
SEVERITY_ERROR |
static int |
SEVERITY_INFO |
static int |
SEVERITY_WARNING |
| Constructor and Description |
|---|
Notice(int severity,
String text,
Object detail,
boolean sticky) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDetail()
The optional detail information for the
Notice. |
int |
getSeverity()
The severity of the
Notice. |
String |
getText()
The textual message.
|
boolean |
isDebug() |
boolean |
isError() |
boolean |
isInfo() |
boolean |
isSticky() |
boolean |
isWarning() |
public static final int SEVERITY_DEBUG
public static final int SEVERITY_INFO
public static final int SEVERITY_WARNING
public static final int SEVERITY_ERROR
public Object getDetail()
Notice. This is for
example an exception when creating an error message.public int getSeverity()
Notice. This is one of the SEVERITY_*
constants or a user defined value.Noticepublic String getText()
public boolean isDebug()
public boolean isError()
public boolean isInfo()
public boolean isSticky()
public boolean isWarning()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.