Package org.apache.sis.storage
Class ResourceAlreadyExistsException
Object
Throwable
Exception
DataStoreException
ResourceAlreadyExistsException
- All Implemented Interfaces:
- Serializable,- LocalizedException
Thrown when a write operation cannot be performed because it would cause the replacement of an existing resource.
 Replacements can be performed only if an option such as 
WritableGridCoverageResource.CommonOption.REPLACE
 has been specified.- Since:
- 1.2
- See Also:
Defined in the sis-storage module
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an exception with no cause and no details message.ResourceAlreadyExistsException(String message) Creates an exception with the specified details message.ResourceAlreadyExistsException(String message, Throwable cause) Creates an exception with the specified details message and cause.
- 
Method SummaryMethods inherited from class DataStoreExceptiongetInternationalMessage, getLocalizedMessage, getMessage, initCauseMethods inherited from class ThrowableaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ResourceAlreadyExistsExceptionpublic ResourceAlreadyExistsException()Creates an exception with no cause and no details message.
- 
ResourceAlreadyExistsExceptionCreates an exception with the specified details message.- Parameters:
- message- the detail message.
 
- 
ResourceAlreadyExistsExceptionCreates an exception with the specified details message and cause.- Parameters:
- message- the detail message.
- cause- the cause for this exception.
 
 
-