Package nzilbb.labbcat.server.db
Class ExistingIdException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- nzilbb.ag.StoreException
-
- nzilbb.labbcat.server.db.ExistingIdException
-
- All Implemented Interfaces:
Serializable
public class ExistingIdException extends nzilbb.ag.StoreException
Exception thrown when trying to create a record that already exists.- Author:
- Robert Fromont robert@fromont.net.nz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExistingIdException(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Getter forid
: The ID that cause the exception.ExistingIdException
setId(String newId)
Setter forid
: The ID that cause the exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ExistingIdException
public ExistingIdException(String id)
-
-
Method Detail
-
getId
public String getId()
Getter forid
: The ID that cause the exception.- Returns:
- The ID that cause the exception.
-
setId
public ExistingIdException setId(String newId)
Setter forid
: The ID that cause the exception.- Parameters:
newId
- The ID that cause the exception.
-
-