public class DataStoreClosedException extends DataStoreException
Defined in the sis-storage
module
Constructor and Description |
---|
DataStoreClosedException(Locale locale,
String format,
OpenOption... options)
Creates a localized exception for a reader or writer which has been closed.
|
DataStoreClosedException(String message)
Creates an exception with the specified details message.
|
DataStoreClosedException(String message,
Throwable cause)
Creates an exception with the specified details message and cause.
|
getInternationalMessage, getLocalizedMessage, getMessage, initCause
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DataStoreClosedException(String message)
message
- the detail message of the exception.public DataStoreClosedException(String message, Throwable cause)
message
- the detail message of the exception.cause
- the cause root for the exception.public DataStoreClosedException(Locale locale, String format, OpenOption... options)
locale
- the locale of the message to be returned by DataStoreException.getLocalizedMessage()
, or null
.format
- short name or abbreviation of the data format (e.g. "CSV", "GML", "WKT", etc).options
- the option used for opening the file, or null
or empty if unknown.
This method looks in particular for StandardOpenOption.READ
and
WRITE
options for inferring if the data store was used as a reader or as a writer.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.