|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
sky.message.Message
| Field Summary | |
protected java.lang.String |
_message
|
protected int |
_source
|
protected java.lang.String |
_state
|
protected int |
_type
|
static int |
DATABASE
Message produced by database and jdbc exceptions. |
static int |
EMAIL
Message is produced by JavaMail and JavaMail exceptions. |
static int |
ERROR
Message type for error condition. |
static int |
INTERNAL
Message produced by SAF framework. |
static int |
IO
Messages produced by generaal java.io exceptions. |
static int |
SENDMAIL
Message type for email condition. |
static int |
STATUS
Message type for status condition. |
static int |
SUCCESS
Message type for sucess condition |
| Constructor Summary | |
Message(java.lang.String message,
java.lang.String state,
int source,
int type)
Constructor |
|
| Method Summary | |
java.lang.String |
toString()
Convert message into a string format |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int INTERNAL
public static final int DATABASE
public static final int EMAIL
public static final int IO
public static final int SUCCESS
public static final int STATUS
public static final int ERROR
public static final int SENDMAIL
protected java.lang.String _message
protected java.lang.String _state
protected int _source
protected int _type
| Constructor Detail |
public Message(java.lang.String message,
java.lang.String state,
int source,
int type)
message - Actual text of message.state - Any extra message information.source - Where did this message come from.type - What type of message is this.| Method Detail |
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||