com.dynalivery.harmoni
Class HarmoniInternalError
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.dynalivery.harmoni.HarmoniError
|
+--com.dynalivery.harmoni.HarmoniInternalError
- public class HarmoniInternalError
- extends HarmoniError
- See Also:
- Serialized Form
|
Constructor Summary |
HarmoniInternalError(int code,
java.lang.String text)
Construct a HarmoniInternalError with the given code and text. |
HarmoniInternalError(java.lang.String text)
Contruct a HarmoniInternalError with the given text and default code. |
|
Method Summary |
void |
Report()
Report this error in the client. |
static void |
Report(int code,
java.lang.String text)
Generate and report an abnormal error in the client. |
static void |
Report(java.lang.String text)
Generate and report an abnormal error in the client. |
void |
Throw()
Throw this error to a handler in the client. |
static void |
Throw(int code,
java.lang.String text)
Generate and throw an abnormal error in the client. |
static void |
Throw(java.lang.String text)
Generate and throw an abnormal error in the client. |
| 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 |
HarmoniInternalError
public HarmoniInternalError(int code,
java.lang.String text)
- Construct a HarmoniInternalError with the given code and text.
- Parameters:
code - The error codetext - The error text
HarmoniInternalError
public HarmoniInternalError(java.lang.String text)
- Contruct a HarmoniInternalError with the given text and default code.
- Parameters:
text - The text that describes the error
Report
public void Report()
- Report this error in the client. (Uses the clients console
implementation methods).
- Overrides:
- Report in class HarmoniError
Report
public static void Report(int code,
java.lang.String text)
- Generate and report an abnormal error in the client. (Uses the
clients console implementation methods).
Report
public static void Report(java.lang.String text)
- Generate and report an abnormal error in the client. (Uses the
clients console implementation methods).
Throw
public void Throw()
throws HarmoniInternalError
- Throw this error to a handler in the client.
- Overrides:
- Throw in class HarmoniError
- Throws:
- HarmoniInternalError -
Throw
public static void Throw(int code,
java.lang.String text)
throws HarmoniInternalError
- Generate and throw an abnormal error in the client.
- Parameters:
code - The error code that is to be thrown with the exceptiontext - The error description that is to be thrown with the exception
Throw
public static void Throw(java.lang.String text)
throws HarmoniInternalError
- Generate and throw an abnormal error in the client.
- Parameters:
text - The text that is to be thrown with the exception