public class MessageInf extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CLS_GENERIC |
static int |
SGN_CAUTION |
static int |
SGN_DANGER |
static int |
SGN_IMPORTANT |
static int |
SGN_NOTICE |
static int |
SGN_SUCCESS |
static int |
SGN_WARNING |
| Constructor and Description |
|---|
MessageInf(int iSignalWord,
String sHazard)
Creates a new instance of MessageInf.
|
MessageInf(int iSignalWord,
String sHazard,
Object e)
Creates a new instance of MessageInf.
|
MessageInf(Throwable e)
Creates a new instance of MessageInf.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCause() |
String |
getErrorCodeMsg() |
String |
getMessageMsg() |
int |
getSignalWord() |
Icon |
getSignalWordIcon() |
void |
show(Component parent) |
public static final int SGN_DANGER
public static final int SGN_WARNING
public static final int SGN_CAUTION
public static final int SGN_NOTICE
public static final int SGN_IMPORTANT
public static final int SGN_SUCCESS
public static final int CLS_GENERIC
public MessageInf(int iSignalWord,
String sHazard,
Object e)
iSignalWord - defines signal levelsHazard - the message texte - The string representaion of the object will be evaluated as message causepublic MessageInf(int iSignalWord,
String sHazard)
iSignalWord - defines signal levelsHazard - the message textpublic MessageInf(Throwable e)
e - passed to JMessage dialog by getCause. JMessageDialog will
display a string with typee and messages of the exception stackCopyright © 2021. All rights reserved.