com.dynalivery.pcre
Class PCREInternalError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.dynalivery.pcre.PCREError
                    |
                    +--com.dynalivery.pcre.PCREInternalError

public class PCREInternalError
extends PCREError

See Also:
Serialized Form

Fields inherited from class com.dynalivery.pcre.PCREError
errorCode, errorKind, errorText
 
Constructor Summary
PCREInternalError(int code, java.lang.String text)
          Construct a PCREInternalError with the given code and text.
PCREInternalError(java.lang.String text)
          Contruct a PCREInternalError 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 com.dynalivery.pcre.PCREError
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

PCREInternalError

public PCREInternalError(int code,
                         java.lang.String text)
Construct a PCREInternalError with the given code and text.
Parameters:
code - The error code
text - The error text

PCREInternalError

public PCREInternalError(java.lang.String text)
Contruct a PCREInternalError with the given text and default code.
Parameters:
text - The text that describes the error
Method Detail

Report

public void Report()
Report this error in the client. (Uses the clients console implementation methods).
Overrides:
Report in class PCREError

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 PCREInternalError
Throw this error to a handler in the client.
Overrides:
Throw in class PCREError
Throws:
PCREInternalError -  

Throw

public static void Throw(int code,
                         java.lang.String text)
                  throws PCREInternalError
Generate and throw an abnormal error in the client.
Parameters:
code - The error code that is to be thrown with the exception
text - The error description that is to be thrown with the exception

Throw

public static void Throw(java.lang.String text)
                  throws PCREInternalError
Generate and throw an abnormal error in the client.
Parameters:
text - The text that is to be thrown with the exception