Class NoSuchAuthorityCodeException

    • Constructor Summary

      Constructors 
      Constructor Description
      NoSuchAuthorityCodeException​(String message, String authority, String code)
      Constructs an exception with the specified detail message and authority code.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getAuthority()
      Returns the authority.
      String getAuthorityCode()
      Returns the invalid authority code.
      • Methods inherited from class Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoSuchAuthorityCodeException

        public NoSuchAuthorityCodeException​(String message,
                                            String authority,
                                            String code)
        Constructs an exception with the specified detail message and authority code.
        Parameters:
        message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        authority - The authority.
        code - The invalid authority code.
    • Method Detail

      • getAuthority

        public String getAuthority()
        Returns the authority.
        Returns:
        The authority, or null if unknown.
      • getAuthorityCode

        public String getAuthorityCode()
        Returns the invalid authority code.
        Returns:
        The authority code, or null if unknown.