Package org.apache.sis.util
Class UnknownNameException
Object
Throwable
Exception
RuntimeException
IllegalArgumentException
UnknownNameException
- All Implemented Interfaces:
- Serializable
Thrown when an operation cannot complete because a given name is unrecognized.
 The unrecognized name may be a 
GenericName, an
 Identifier, a String used as a name or identifier,
 or any other objects with similar purpose.
 Note: in the particular case of objects created from a Factory,
 the exception for unrecognized identifiers is rather NoSuchIdentifierException.
 This UnknownNameException differs in being an unchecked exception.
- Since:
- 0.5
- See Also:
Defined in the sis-utility module
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a new exception with no message.UnknownNameException(String message) Constructs a new exception with the specified detail message.UnknownNameException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.
- 
Method SummaryMethods inherited from class ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
UnknownNameExceptionpublic UnknownNameException()Constructs a new exception with no message.
- 
UnknownNameExceptionConstructs a new exception with the specified detail message.- Parameters:
- message- the detail message, or- nullif none.
 
- 
UnknownNameExceptionConstructs a new exception with the specified detail message and cause.- Parameters:
- message- the detail message, or- nullif none.
- cause- the cause, or- nullif none.
 
 
-