AMETAS.cipher
Class CipherException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byAMETAS.cipher.CipherException
All Implemented Interfaces:
java.io.Serializable

public class CipherException
extends java.lang.Exception

Tritt bei Fehlern bei der Ver- oder Entschlüsselung auf. Mögliche Gründe dafür können sein, dass keine Schlüssel vorhanden sind oder das Datenformat fehlerhaft ist. Wird von der Klasse Cipher und davon abgeleiteten Klassen benutzt.

See Also:
Serialized Form

Field Summary
static int BADDATAFORMAT
          Konstante für das error-Feld.
static int BYTELENGTH
          Konstante für das error-Feld.
 int m_nError
          Fehlerwert.
static int NODECRYPTIONKEY
          Konstante für das error-Feld.
static int NOENCRYPTIONKEY
          Konstante für das error-Feld.
static java.lang.String[] sm_asError
          Stringrepräsentationen der Fehlerwerte.
static int UNKNOWN
          Konstante für das error-Feld.
 
Constructor Summary
CipherException(int nMsg)
          Konstruktor.
CipherException(java.lang.String sMsg, int nMsg)
          Konstruktor mit Detailnachricht.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NOENCRYPTIONKEY

public static final int NOENCRYPTIONKEY
Konstante für das error-Feld. Schlüssel zur Verschlüsselung fehlt.

See Also:
Constant Field Values

NODECRYPTIONKEY

public static final int NODECRYPTIONKEY
Konstante für das error-Feld. Schlüssel zur Entschlüsselung fehlt.

See Also:
Constant Field Values

BADDATAFORMAT

public static final int BADDATAFORMAT
Konstante für das error-Feld. Datenformat fehlerhaft.

See Also:
Constant Field Values

BYTELENGTH

public static final int BYTELENGTH
Konstante für das error-Feld. Längenangabe fehlerhaft.

See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
Konstante für das error-Feld. Unbekannter Fehler.

See Also:
Constant Field Values

m_nError

public int m_nError
Fehlerwert.


sm_asError

public static final java.lang.String[] sm_asError
Stringrepräsentationen der Fehlerwerte.

Constructor Detail

CipherException

public CipherException(int nMsg)
Konstruktor.

Parameters:
nMsg - In dieser Klasse definierte Konstante.

CipherException

public CipherException(java.lang.String sMsg,
                       int nMsg)
Konstruktor mit Detailnachricht.

Parameters:
sMsg - Information
nMsg - In dieser Klasse definierte Konstante.