Package com.verisign.epp.codec.gen
Class EPPCodecException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.verisign.epp.exception.EPPException
-
- com.verisign.epp.codec.gen.EPPCodecException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
EPPDecodeException,EPPDuplicateExtensionException,EPPEncodeException
public class EPPCodecException extends EPPException
Represents a general EPP Codec Exception. This exception supports for a limited form of exception value types without the need for subclassing.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EPPCodecExceptionMISSINGPARAMETERThe typesafe constant MISSINGPARAMETER defines the instance of EPPCodecException that should be thrown for missing input parameters.static EPPCodecExceptionSAX_EXCEPTIONThe typesafe constant SAX_EXCEPTION defines the instance of EPPCodecException that should be thrown for SAX XML parse exceptions.static intVALUE_MISSINGPARAMETERConstant value for missing parameter exceptionstatic intVALUE_SAX_EXCEPTIONConstant value for SAX XML exceptionstatic intVALUE_UNDEFINEDConstant value for generic / undefined value of exception
-
Constructor Summary
Constructors Constructor Description EPPCodecException(int aValue)Constructs a newEPPCodecExceptioninstance.EPPCodecException(int aValue, java.lang.String aInfo)Constructs a newEPPCodecExceptioninstance.EPPCodecException(java.lang.String aInfo)Constructor for EPPCodecException that takes an info string.EPPCodecException(java.lang.String aInfo, EPPCodecException ex)Constructs a newEPPCodecExceptioninstance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Returns true if the passed in EPPCodecException instances equals this instance.intgetValue()Returns the value of theEPPCodecExceptioninstance.
-
-
-
Field Detail
-
VALUE_UNDEFINED
public static final int VALUE_UNDEFINED
Constant value for generic / undefined value of exception- See Also:
- Constant Field Values
-
VALUE_MISSINGPARAMETER
public static final int VALUE_MISSINGPARAMETER
Constant value for missing parameter exception- See Also:
- Constant Field Values
-
VALUE_SAX_EXCEPTION
public static final int VALUE_SAX_EXCEPTION
Constant value for SAX XML exception- See Also:
- Constant Field Values
-
MISSINGPARAMETER
public static final EPPCodecException MISSINGPARAMETER
The typesafe constant MISSINGPARAMETER defines the instance of EPPCodecException that should be thrown for missing input parameters.
-
SAX_EXCEPTION
public static final EPPCodecException SAX_EXCEPTION
The typesafe constant SAX_EXCEPTION defines the instance of EPPCodecException that should be thrown for SAX XML parse exceptions.
-
-
Constructor Detail
-
EPPCodecException
public EPPCodecException(java.lang.String aInfo)
Constructor for EPPCodecException that takes an info string.- Parameters:
aInfo- Text description of the exception.
-
EPPCodecException
public EPPCodecException(int aValue)
Constructs a newEPPCodecExceptioninstance.- Parameters:
aValue- The unique value of this instance using one of theVALUEconstants.
-
EPPCodecException
public EPPCodecException(int aValue, java.lang.String aInfo)Constructs a newEPPCodecExceptioninstance.- Parameters:
aValue- The unique value of this instance.aInfo- Text description of the exception.
-
EPPCodecException
public EPPCodecException(java.lang.String aInfo, EPPCodecException ex)Constructs a newEPPCodecExceptioninstance- Parameters:
aInfo- Information that can be included with theEPPCodecExceptionex- An instance of anEPPCodecException. This should be one of the static instances defined inEPPCodecException.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Returns true if the passed in EPPCodecException instances equals this instance.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the exception to be- Returns:
- boolean True if the two
EPPAssemblerExceptionhave the same value.
-
getValue
public int getValue()
Returns the value of theEPPCodecExceptioninstance. The value should match one of theVALUEconstants.- Returns:
- One of the
VALUEconstants
-
-