public class DuplicateKeyException extends StorageException
DuplicateKeyException
is used to indicate that an error condition occurred while communicating with some
form of storage medium because there is already an entity with the specified key(s).Constructor and Description |
---|
DuplicateKeyException(String message)
Constructs a new
DuplicateKeyException with the passed detail message and null as its
embedded Throwable . |
DuplicateKeyException(String message,
Throwable embedded)
Constructs a new
DuplicateKeyException with the specified detail message and an embedded
Throwable . |
DuplicateKeyException(Throwable embedded)
Constructs a new
DuplicateKeyException with the specified embedded Throwable and
null as its detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateKeyException(String message)
DuplicateKeyException
with the passed detail message and null
as its
embedded Throwable
.message
- The detail message.public DuplicateKeyException(Throwable embedded)
DuplicateKeyException
with the specified embedded Throwable
and
null
as its detail message.embedded
- Throwable
to embed within this one.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries