|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.verisign.epp.exception.EPPException
com.verisign.epp.codec.gen.EPPCodecException
public class EPPCodecException
Represents a general EPP Codec Exception. This exception supports for a limited form of exception value types without the need for subclassing.
| Field Summary | |
|---|---|
static EPPCodecException |
MISSINGPARAMETER
The typesafe constant MISSINGPARAMETER defines the instance of EPPCodecException that should be thrown for missing input parameters. |
static int |
VALUE_MISSINGPARAMETER
Constant value for missing parameter exception |
static int |
VALUE_UNDEFINED
Constant value for generic / undefined value of exception |
| Constructor Summary | |
|---|---|
EPPCodecException(int aValue)
Constructs a new EPPCodecException instance. |
|
EPPCodecException(int aValue,
java.lang.String aInfo)
Constructs a new EPPCodecException instance. |
|
EPPCodecException(java.lang.String aInfo)
Constructor for EPPCodecException that takes an info string. |
|
EPPCodecException(java.lang.String aInfo,
EPPCodecException ex)
Constructs a new EPPCodecException instance |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true if the passed in EPPCodecException instances equals this instance. |
int |
getValue()
Returns the value of the EPPCodecException instance. |
| 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int VALUE_UNDEFINED
public static final int VALUE_MISSINGPARAMETER
public static final EPPCodecException MISSINGPARAMETER
| Constructor Detail |
|---|
public EPPCodecException(java.lang.String aInfo)
aInfo - Text description of the exception.public EPPCodecException(int aValue)
EPPCodecException instance.
aValue - The unique value of this instance using one of the VALUE constants.
public EPPCodecException(int aValue,
java.lang.String aInfo)
EPPCodecException instance.
aValue - The unique value of this instance.aInfo - Text description of the exception.
public EPPCodecException(java.lang.String aInfo,
EPPCodecException ex)
EPPCodecException instance
aInfo - Information that can be included with the
EPPCodecExceptionex - An instance of an EPPCodecException. This should
be one of the static instances defined in
EPPCodecException.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the exception to be
EPPAssemblerException have
the same value.public int getValue()
EPPCodecException instance. The
value should match one of the VALUE constants.
VALUE constants
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||