Package org.apache.gravitino.exceptions
Class AlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.gravitino.exceptions.GravitinoRuntimeException
org.apache.gravitino.exceptions.AlreadyExistsException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CatalogAlreadyExistsException
,FilesetAlreadyExistsException
,GroupAlreadyExistsException
,JobTemplateAlreadyExistsException
,MetalakeAlreadyExistsException
,ModelAlreadyExistsException
,ModelVersionAliasesAlreadyExistException
,PartitionAlreadyExistsException
,PolicyAlreadyAssociatedException
,PolicyAlreadyExistsException
,RoleAlreadyExistsException
,SchemaAlreadyExistsException
,TableAlreadyExistsException
,TagAlreadyAssociatedException
,TagAlreadyExistsException
,TopicAlreadyExistsException
,UserAlreadyExistsException
An exception thrown when an entity or resource already exists.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAlreadyExistsException
(String message, Object... args) Constructs a new exception with the specified detail message.AlreadyExistsException
(Throwable cause, String message, Object... args) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlreadyExistsException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.args
- the arguments to the message.
-
AlreadyExistsException
@FormatMethod public AlreadyExistsException(Throwable cause, @FormatString String message, Object... args) Constructs a new exception with the specified detail message and cause.- Parameters:
cause
- the cause.message
- the detail message.args
- the arguments to the message.
-