Class ResourceAlreadyExistsException

Object
Throwable
Exception
DataStoreException
ResourceAlreadyExistsException
All Implemented Interfaces:
Serializable, Localized­Exception

public class ResourceAlreadyExistsException extends DataStoreException
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 Writable­Grid­Coverage­Resource​.Common­Option​.REPLACE has been specified.
Since:
1.2
See Also:
  • Constructor Details

    • ResourceAlreadyExistsException

      public ResourceAlreadyExistsException()
      Creates an exception with no cause and no details message.
    • ResourceAlreadyExistsException

      public ResourceAlreadyExistsException(String message)
      Creates an exception with the specified details message.
      Parameters:
      message - the detail message.
    • ResourceAlreadyExistsException

      public ResourceAlreadyExistsException(String message, Throwable cause)
      Creates an exception with the specified details message and cause.
      Parameters:
      message - the detail message.
      cause - the cause for this exception.