public class RegionExistsException extends CacheException
Constructor and Description |
---|
RegionExistsException(Region rgn)
Constructs an instance of
RegionExistsException with the specified Region. |
RegionExistsException(Region rgn,
Throwable cause)
Constructs an instance of
RegionExistsException with the specified detail message
and cause. |
Modifier and Type | Method and Description |
---|---|
Region |
getRegion()
Return the Region that already exists which prevented region creation.
|
toString
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public RegionExistsException(Region rgn)
RegionExistsException
with the specified Region.rgn
- the Region that existspublic Region getRegion()
Throwable.getMessage()
will return the pathFromRoot for the region that exists.