public class EPPCodecException extends EPPException
Modifier and Type | Field and Description |
---|---|
static EPPCodecException |
MISSINGPARAMETER
The typesafe constant MISSINGPARAMETER defines the instance of
EPPCodecException that should be thrown for missing input parameters.
|
static EPPCodecException |
SAX_EXCEPTION
The typesafe constant SAX_EXCEPTION defines the instance of
EPPCodecException that should be thrown for SAX XML parse exceptions.
|
static int |
VALUE_MISSINGPARAMETER
Constant value for missing parameter exception
|
static int |
VALUE_SAX_EXCEPTION
Constant value for SAX XML exception
|
static int |
VALUE_UNDEFINED
Constant value for generic / undefined value of exception
|
Constructor and Description |
---|
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 |
Modifier and Type | Method and Description |
---|---|
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. |
public static final int VALUE_UNDEFINED
public static final int VALUE_MISSINGPARAMETER
public static final int VALUE_SAX_EXCEPTION
public static final EPPCodecException MISSINGPARAMETER
public static final EPPCodecException SAX_EXCEPTION
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
instanceaInfo
- Information that can be included with the
EPPCodecException
ex
- An instance of an EPPCodecException
. This should
be one of the static instances defined in
EPPCodecException
.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the exception to beEPPAssemblerException
have
the same value.public int getValue()
EPPCodecException
instance. The
value should match one of the VALUE
constants.VALUE
constants