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,NoSuchClusterException
public abstract class NamedClusterException extends ClusterException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamedClusterException(String clusterName, @Nullable ClusterJoinConfig clusterJoinConfig)NamedClusterException(String clusterName, InetAddress clusterAddress)Deprecated.since 5.9
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClusterJoinConfiggetClusterJoinConfig()StringgetClusterName()InetAddressgetJoinConfig()Deprecated.since 5.9StringgetMessage()protected abstract StringgetMessageTemplate()-
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)
-
NamedClusterException
@Deprecated public NamedClusterException(String clusterName, InetAddress clusterAddress)
Deprecated.since 5.9
-
-
Method Detail
-
getJoinConfig
@Deprecated public InetAddress getJoinConfig()
Deprecated.since 5.9
-
getClusterJoinConfig
public ClusterJoinConfig getClusterJoinConfig()
-
getClusterName
public String getClusterName()
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getMessageTemplate
protected abstract String getMessageTemplate()
-
-