|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.dynalivery.harmoni.HarmoniError
|
+--com.dynalivery.harmoni.HarmoniServiceError
|
+--com.dynalivery.harmoni.HarmoniServerError
HarmoniServerError indicates an error in connecting to the server, an error in the CORBA system or similar non-recoverable errors. If a Harmoni call throws a HarmoniServerError, the connection to the server may be in an unknown state. For most applets/applications, a thrown HarmoniServerError indicates a fatal error condition.
| Fields inherited from class com.dynalivery.harmoni.HarmoniError |
errorCode,
errorKind,
errorText |
| Constructor Summary | |
HarmoniServerError(int code,
java.lang.String text)
Construct a HarmoniServerError with the given code and text. |
|
HarmoniServerError(java.lang.String text)
Construct a HarmoniServerError with the given text and default code. |
|
| Method Summary | |
void |
Report()
Report a server error in the client. |
static void |
Report(java.lang.Exception ex)
Classify and report an exception thrown from a CORBA call This method attempts to determine the type of an exception, and report it. |
static void |
Report(int code,
java.lang.String text)
Generate and report a server error in the client. |
static void |
Report(java.lang.String text)
Generate and report a server error in the client. |
void |
Throw()
Throw this error to a handler in the client. |
static void |
Throw(java.lang.Exception ex)
Analyse a CORBA exception thrown by a HarmoniServer API call and throw a corresponding HarmoniServerError. |
static void |
Throw(int code,
java.lang.String text)
Generate and throw a server error in the client. |
static void |
Throw(java.lang.String text)
Generate and throw a server error in the client. |
| Methods inherited from class com.dynalivery.harmoni.HarmoniError |
getCode,
getKind,
getText |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public HarmoniServerError(int code,
java.lang.String text)
code - The error code to use.text - The error text to use.public HarmoniServerError(java.lang.String text)
text - The error text to use.| Method Detail |
public void Report()
public static void Report(int code,
java.lang.String text)
text - The text to use for the error reportcode - The error code to use for the errror reportpublic static void Report(java.lang.Exception ex)
ex - The exception to classify and report.public static void Report(java.lang.String text)
text - The text to use for the error report
public void Throw()
throws HarmoniServerError
public static void Throw(int code,
java.lang.String text)
throws HarmoniServerError
text - The error description that is to be thrown with the exceptioncode - The error code that is to be thrown with the exception
public static void Throw(java.lang.Exception ex)
throws HarmoniServerError
ex - The CORBA exception.
public static void Throw(java.lang.String text)
throws HarmoniServerError
text - The error description that is to be thrown with the exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||