JavaQuest.Server
Class CGeneralException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--java.rmi.RemoteException
                          |
                          +--JavaQuest.Server.CGeneralException
All Implemented Interfaces:
java.io.Serializable

public class CGeneralException
extends java.rmi.RemoteException

Klasse fuer Exceptions die per RMI an Client geworfen werden und dort dann analysiert werden

See Also:
Serialized Form

Field Summary
private  boolean m_bMessageType
           
private  int m_iErrorType
           
 
Fields inherited from class java.rmi.RemoteException
detail, serialVersionUID
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage
 
Constructor Summary
CGeneralException()
          Default-Konstruktor
CGeneralException(java.lang.String s, int _iErrorType, boolean _bMessageType)
          Konstruktor mit Exceptiontext, Exception-ID und Exception-Type
 
Method Summary
 int getErrorType()
          gibt die Exception-ID der Exception zurueck
 boolean getMessageType()
          gibt den Exception-Typ der Exception zurueck
 
Methods inherited from class java.rmi.RemoteException
getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

m_bMessageType

private boolean m_bMessageType

m_iErrorType

private int m_iErrorType
Constructor Detail

CGeneralException

public CGeneralException()
Default-Konstruktor

CGeneralException

public CGeneralException(java.lang.String s,
                         int _iErrorType,
                         boolean _bMessageType)
Konstruktor mit Exceptiontext, Exception-ID und Exception-Type
Parameters:
s - Exceptiontext
_iErrorType - Exception-ID
_bMessageType - Exception-Type (true wenn critical)
Method Detail

getErrorType

public int getErrorType()
gibt die Exception-ID der Exception zurueck
Returns:
ID der Exception

getMessageType

public boolean getMessageType()
gibt den Exception-Typ der Exception zurueck
Returns:
Type der Exception (true wenn critical)