Class ApiErrorException

    • Constructor Detail

      • ApiErrorException

        public ApiErrorException​(String reason,
                                 HttpContext context)
        Initialization constructor.
        Parameters:
        reason - The reason for throwing exception
        context - The http context of the API exception
    • Method Detail

      • getType

        public String getType()
        Getter for Type.
        Returns:
        Returns the String
      • getDescription

        public String getDescription()
        Getter for Description.
        Returns:
        Returns the String
      • getId

        public String getId()
        Getter for Id.
        Returns:
        Returns the String