Class NoSuchAuthorityCodeException

Object
Throwable
Exception
FactoryException
NoSuchAuthorityCodeException
All Implemented Interfaces:
Serializable

public class NoSuchAuthorityCodeException extends FactoryException
Thrown when an authority factory can't find the requested authority code.
Since:
GeoAPI 1.0
Author:
Martin Desruisseaux (IRD)
See Also:
  • Constructor Details

    • 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 Details

    • 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.