Package org.apache.sis.referencing.factory

# Class NoSuchAuthorityFactoryException

Object
Throwable
Exception
FactoryException
NoSuchIdentifierException
NoSuchAuthorityCodeException
NoSuchAuthorityFactoryException

All Implemented Interfaces:
  `Serializable`

public class NoSuchAuthorityFactoryException extends NoSuchAuthorityCodeException
Thrown when no factory has been found for a given authority name. This exception is a little bit more specific than `NoSuchAuthorityCodeException` since it means that in a code like `"FOO:456"`, the unrecognized part was `"FOO"`.

Since:
  0.7
See Also:
  - Serialized Form

Defined in the `sis-referencing` module

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NoSuchAuthorityFactoryException(String message, String authority)`
  Constructs an exception with the specified detail message and authority name.

- ## Method Summary

  ### Methods inherited from class NoSuchAuthorityCodeException

  `getAuthority, getAuthorityCode`

  ### Methods inherited from class NoSuchIdentifierException

  `getIdentifierCode`

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

  - ### NoSuchAuthorityFactoryException

    public NoSuchAuthorityFactoryException(String message, String authority)
    Constructs an exception with the specified detail message and authority name.
    Parameters:
      `message` - the detail message, saved for later retrieval by the `Throwable​.getMessage()` method.
      `authority` - the authority, saved for retrieval by the `NoSuchAuthorityCodeException​.getAuthority()` method.