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:
Serializable
- Direct Known Subclasses:
EPPDecodeException,EPPDuplicateExtensionException,EPPEncodeException
Represents a general EPP Codec Exception. This exception supports for a
limited form of exception value types without the need for subclassing.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EPPCodecExceptionThe typesafe constant MISSINGPARAMETER defines the instance of EPPCodecException that should be thrown for missing input parameters.static final EPPCodecExceptionThe typesafe constant SAX_EXCEPTION defines the instance of EPPCodecException that should be thrown for SAX XML parse exceptions.static final intConstant value for missing parameter exceptionstatic final intConstant value for SAX XML exceptionstatic final intConstant value for generic / undefined value of exception -
Constructor Summary
ConstructorsConstructorDescriptionEPPCodecException(int aValue) Constructs a newEPPCodecExceptioninstance.EPPCodecException(int aValue, String aInfo) Constructs a newEPPCodecExceptioninstance.EPPCodecException(String aInfo) Constructor for EPPCodecException that takes an info string.EPPCodecException(String aInfo, EPPCodecException ex) Constructs a newEPPCodecExceptioninstance -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
VALUE_UNDEFINED
public static final int VALUE_UNDEFINEDConstant value for generic / undefined value of exception- See Also:
-
VALUE_MISSINGPARAMETER
public static final int VALUE_MISSINGPARAMETERConstant value for missing parameter exception- See Also:
-
VALUE_SAX_EXCEPTION
public static final int VALUE_SAX_EXCEPTIONConstant value for SAX XML exception- See Also:
-
MISSINGPARAMETER
The typesafe constant MISSINGPARAMETER defines the instance of EPPCodecException that should be thrown for missing input parameters. -
SAX_EXCEPTION
The typesafe constant SAX_EXCEPTION defines the instance of EPPCodecException that should be thrown for SAX XML parse exceptions.
-
-
Constructor Details
-
EPPCodecException
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
Constructs a newEPPCodecExceptioninstance.- Parameters:
aValue- The unique value of this instance.aInfo- Text description of the exception.
-
EPPCodecException
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 Details
-
equals
Returns true if the passed in EPPCodecException instances equals this instance. -
getValue
public int getValue()Returns the value of theEPPCodecExceptioninstance. The value should match one of theVALUEconstants.- Returns:
- One of the
VALUEconstants
-