Package org.apache.geode.cache
Class DiskAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.cache.CacheRuntimeException
org.apache.geode.cache.DiskAccessException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConflictingPersistentDataException
Indicates that an
IOException during a disk region operation.- Since:
- GemFire 3.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newDiskAccessException.Constructs a newDiskAccessExceptionwith a message string.DiskAccessException(String msg, String regionName) Constructs a newDiskAccessExceptionwith a message string.DiskAccessException(String msg, Throwable cause) Constructs a newDiskAccessExceptionwith a message string and a cause.DiskAccessException(String msg, Throwable cause, String regionName) Constructs a newDiskAccessExceptionwith a message string and a cause.DiskAccessException(String msg, Throwable cause, DiskStore ds) Constructs a newDiskAccessExceptionwith a message string and a cause.DiskAccessException(String msg, DiskStore ds) Constructs a newDiskAccessExceptionwith a message string.DiskAccessException(String msg, Region r) Constructs a newDiskAccessExceptionwith a message string.DiskAccessException(Throwable cause) Constructs a newDiskAccessExceptionwith a cause. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisRemote()Returns true if this exception originated from a remote node.Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toStringMethods inherited from class org.apache.geode.GemFireException
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
DiskAccessException
public DiskAccessException()Constructs a newDiskAccessException. -
DiskAccessException
Constructs a newDiskAccessExceptionwith a message string.- Parameters:
msg- a message stringr- The Region for which the disk operation failed
-
DiskAccessException
Constructs a newDiskAccessExceptionwith a message string.- Parameters:
msg- a message stringregionName- The name of the Region for which the disk operation failed- Since:
- GemFire 6.5
-
DiskAccessException
Constructs a newDiskAccessExceptionwith a message string.- Parameters:
msg- a message stringds- The disk store for which the disk operation failed- Since:
- GemFire 6.5
-
DiskAccessException
Constructs a newDiskAccessExceptionwith a message string and a cause.- Parameters:
msg- the message stringcause- a causal ThrowableregionName- The name of the Region for which the disk operation failed- Since:
- GemFire 6.5
-
DiskAccessException
Constructs a newDiskAccessExceptionwith a message string and a cause.- Parameters:
msg- the message stringcause- a causal Throwableds- The disk store for which the disk operation failed- Since:
- GemFire 6.5
-
DiskAccessException
Constructs a newDiskAccessExceptionwith a cause.- Parameters:
cause- a causal Throwable
-
DiskAccessException
Constructs a newDiskAccessExceptionwith a message string and a cause.- Parameters:
msg- the message stringcause- a causal Throwable- Since:
- GemFire 8.0
-
DiskAccessException
Constructs a newDiskAccessExceptionwith a message string.- Parameters:
msg- the message string
-
-
Method Details
-
isRemote
public boolean isRemote()Returns true if this exception originated from a remote node.- Returns:
- whether this exception originated from a remote node
-