Package org.apache.ignite
Class IgniteIllegalStateException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- java.lang.IllegalStateException
- 
- org.apache.ignite.IgniteIllegalStateException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class IgniteIllegalStateException extends IllegalStateException This exception indicates the ignite access in invalid state.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description IgniteIllegalStateException(String msg)Constructs exception with given message.IgniteIllegalStateException(String msg, @Nullable Throwable cause)Constructs exception with given message and cause.IgniteIllegalStateException(Throwable cause)Creates exception given throwable as a cause and source of error message.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Throwable>
 TgetCause(@Nullable Class<T> cls)Gets first exception of given class from'cause'hierarchy if any.booleanhasCause(@Nullable Class<? extends Throwable>... cls)Checks if this exception has given class in'cause'hierarchy.StringtoString()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
- 
 
- 
- 
- 
Constructor Detail- 
IgniteIllegalStateExceptionpublic IgniteIllegalStateException(String msg, @Nullable @Nullable Throwable cause) Constructs exception with given message and cause.- Parameters:
- msg- Exception message.
- cause- Exception cause.
 
 - 
IgniteIllegalStateExceptionpublic IgniteIllegalStateException(Throwable cause) Creates exception given throwable as a cause and source of error message.- Parameters:
- cause- Non-null throwable cause.
 
 - 
IgniteIllegalStateExceptionpublic IgniteIllegalStateException(String msg) Constructs exception with given message.- Parameters:
- msg- Exception message.
 
 
- 
 - 
Method Detail- 
hasCausepublic boolean hasCause(@Nullable @Nullable Class<? extends Throwable>... cls)Checks if this exception has given class in'cause'hierarchy.- Parameters:
- cls- Cause class to check (if- null,- falseis returned)..
- Returns:
- Trueif one of the causing exception is an instance of passed in class,- falseotherwise.
 
 - 
getCause@Nullable public <T extends Throwable> T getCause(@Nullable @Nullable Class<T> cls) Gets first exception of given class from'cause'hierarchy if any.- Type Parameters:
- T- Type of the causing exception.
- Parameters:
- cls- Cause class to get cause (if- null,- nullis returned).
- Returns:
- First causing exception of passed in class, nullotherwise.
 
 
- 
 
-