public class IllegalNameException extends DataStoreException
DataStore
for that name,
or because the name is ambiguous (in which case the exception message should explain why),
or because the name of a new feature type
to add in the DataStore
conflicts with the name of an existing feature type.Defined in the sis-storage
module
Constructor and Description |
---|
IllegalNameException()
Creates an exception with no cause and no details message.
|
IllegalNameException(Locale locale,
String store,
String feature)
Creates a new exception with a message saying that the feature of the given name has not been found.
|
IllegalNameException(String message)
Creates an exception with the specified details message.
|
IllegalNameException(String message,
Throwable cause)
Creates an exception with the specified details message and cause.
|
IllegalNameException(Throwable cause)
Creates an exception with the specified cause and no details message.
|
getInternationalMessage, getLocalizedMessage, getMessage, initCause
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalNameException()
public IllegalNameException(String message)
message
- the detail message.public IllegalNameException(Throwable cause)
cause
- the cause for this exception.public IllegalNameException(String message, Throwable cause)
message
- the detail message.cause
- the cause for this exception.public IllegalNameException(Locale locale, String store, String feature)
locale
- the locale for the message to be returned by DataStoreException.getLocalizedMessage()
.store
- name of the data store for which the feature has not been found, or null
if unknown.feature
- name of the feature that has not been found.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.