Package com.atlassian.confluence.cluster
Class NamedClusterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.atlassian.confluence.cluster.ClusterException
-
- com.atlassian.confluence.cluster.NamedClusterException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClusterAlreadyExistsException
public abstract class NamedClusterException extends ClusterException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamedClusterException(String clusterName, @Nullable ClusterJoinConfig clusterJoinConfig)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ClusterJoinConfig
getClusterJoinConfig()
String
getClusterName()
String
getMessage()
protected abstract String
getMessageTemplate()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NamedClusterException
public NamedClusterException(String clusterName, @Nullable ClusterJoinConfig clusterJoinConfig)
-
-
Method Detail
-
getClusterJoinConfig
public ClusterJoinConfig getClusterJoinConfig()
-
getClusterName
public String getClusterName()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getMessageTemplate
protected abstract String getMessageTemplate()
-
-