Class EPPComponentNotFoundException

All Implemented Interfaces:
Serializable

public class EPPComponentNotFoundException extends EPPDecodeException
Exception used to identify when a component can not be found in one of the factories during a decode operation. The exception includes a kind attribute that defines which kind of component could not be found. The constants provided defined the possible values for the kind attribute.
See Also:
  • Field Details

    • COMMAND

      public static final short COMMAND
      Command component not found
      See Also:
    • RESPONSE

      public static final short RESPONSE
      Response component not found
      See Also:
    • EXTENSION

      public static final short EXTENSION
      Extension component (command/response extension or protocol extension) not found.
      See Also:
  • Constructor Details

    • EPPComponentNotFoundException

      public EPPComponentNotFoundException(short aKind, String aInfo)
      Constructor for EPPComponentNotFoundException that takes an info string.
      Parameters:
      aKind - Kind of component not found using one of the EPPComponentNotFoundException constants.
      aInfo - Text description of the exception.
    • EPPComponentNotFoundException

      public EPPComponentNotFoundException(short aKind, String aInfo, EPPCodecException aExcep)
      Constructor for EPPComponentNotFoundException that takes an info string and the base EPPCodecException.
      Parameters:
      aKind - Kind of component not found using one of the EPPComponentNotFoundException constants.
      aInfo - Text description of the exception.
      aExcep - the EPPCodecException letting us know which specific error has occured to be propagated to the Assembler.
    • EPPComponentNotFoundException

      public EPPComponentNotFoundException(short aKind, EPPCodecException aExcep)
      Copy Constructor for EPPComponentNotFoundException that takes the base EPPCodecException.
      Parameters:
      aKind - Kind of component not found using one of the EPPComponentNotFoundException constants.
      aExcep - the EPPCodecException letting us know which specific error has occured to be propagated to the Assembler.
  • Method Details

    • getKind

      public short getKind()
      Kind of component not found.
      Returns:
      One of the EPPComponentNotFoundException constants
    • setKind

      public void setKind(short aKind)
      Kind of component not found.
      Parameters:
      aKind - Kind of component not found using one of the EPPComponentNotFoundException constants.