Class IgniteClusterReadOnlyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.ignite.IgniteCheckedException
-
- org.apache.ignite.internal.processors.cache.distributed.dht.IgniteClusterReadOnlyException
-
- All Implemented Interfaces:
Serializable
public class IgniteClusterReadOnlyException extends IgniteCheckedException
This exception is used to indicate that the cluster is in a read-only state- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IgniteClusterReadOnlyException()Create empty exception.IgniteClusterReadOnlyException(String msg)Creates new exception with given error message.IgniteClusterReadOnlyException(String msg, @Nullable Throwable cause)Creates new exception with given error message and optional nested exception.IgniteClusterReadOnlyException(String msg, @Nullable Throwable cause, boolean writableStackTrace)Creates new exception with given error message and optional nested exception.IgniteClusterReadOnlyException(Throwable cause)Creates new grid exception with given throwable as a cause and source of error message.
-
Method Summary
-
Methods inherited from class org.apache.ignite.IgniteCheckedException
getCause, hasCause, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
IgniteClusterReadOnlyException
public IgniteClusterReadOnlyException()
Create empty exception.
-
IgniteClusterReadOnlyException
public IgniteClusterReadOnlyException(String msg)
Creates new exception with given error message.- Parameters:
msg- Error message.
-
IgniteClusterReadOnlyException
public IgniteClusterReadOnlyException(Throwable cause)
Creates new grid exception with given throwable as a cause and source of error message.- Parameters:
cause- Non-null throwable cause.
-
IgniteClusterReadOnlyException
public IgniteClusterReadOnlyException(String msg, @Nullable @Nullable Throwable cause, boolean writableStackTrace)
Creates new exception with given error message and optional nested exception.- Parameters:
msg- Error message.cause- Optional nested exception (can benull).writableStackTrace- whether or not the stack trace should be writable
-
-