public class AlreadyExistsException extends CreationException
RuntimeException
are checked exceptions.
Checked exceptions need to be declared in a method or constructor's throws clause if they can be thrown by the execution of the method or
constructor and propagate outside the method or constructor boundary.Constructor and Description |
---|
AlreadyExistsException(String message)
Constructs a new exception with the specified detail message.
|
AlreadyExistsException(String message,
String name)
Constructs a new exception with the specified detail message and name of existing object.
|
AlreadyExistsException(Throwable cause)
Constructs a new exception with the specified detail cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Retrieves the name of conflicting object or null if the name was not supplied
|
getContext, getMessage, getUserName, setConnectorActivationEventOnContext, setConnectorDefinitionIdOnContext, setConnectorDefinitionImplementationClassNameOnContext, setConnectorDefinitionVersionOnContext, setConnectorInstanceIdOnContext, setDataClassName, setDataName, setDocumentIdOnContext, setFlowNodeDefinitionIdOnContext, setFlowNodeInstanceIdOnContext, setFlowNodeNameOnContext, setGroupIdOnContext, setMessageInstanceNameOnContext, setMessageInstanceTargetFlowNodeOnContext, setMessageInstanceTargetProcessOnContext, setProcessDefinitionIdOnContext, setProcessDefinitionNameOnContext, setProcessDefinitionVersionOnContext, setProcessInstanceIdOnContext, setRoleIdOnContext, setRootProcessInstanceIdOnContext, setUserIdOnContext, setUserName, setWaitingMessageEventTypeOnContext
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AlreadyExistsException(Throwable cause)
cause
- The cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the
cause is nonexistent or unknown.)public AlreadyExistsException(String message)
message
- The detail message (which is saved for later retrieval by the Throwable.getMessage()
method).public AlreadyExistsException(String message, String name)
message
- The detail message (which is saved for later retrieval by the Throwable.getMessage()
method).name
- the name of the conflicting objectpublic String getName()
Copyright © 2015 Bonitasoft S.A.. All rights reserved.