Class NotSupportedException

All Implemented Interfaces:
Serializable

public class NotSupportedException extends NotFoundException
Thrown when the query targets a namespace not covered by RDAP (HTTP 404).

Extends NotFoundException so existing catch (NotFoundException) blocks keep working. Catch this class first when you want to distinguish "no RDAP server for this TLD/range" from "namespace covered but no matching record".

See Also:
  • Constructor Details

    • NotSupportedException

      public NotSupportedException(String message, String errorCode)