Class RegionTreeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.push.region.RegionTreeException
- All Implemented Interfaces:
Serializable
Thrown when the region tree fails validation at configuration load.
The message names the offending node (by code where possible) and the specific inconsistency — a broken parent link, an unknown ISO code, a continent mapping that does not round-trip, or a mis-placed residency boundary — so that a configuration error is diagnosed at load rather than mis-routing a send later.
- Author:
- IIZI
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionRegionTreeException(String message) Constructs the exception with a diagnostic message.RegionTreeException(String message, Throwable cause) Constructs the exception with a message and an underlying cause.Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
RegionTreeException
Constructs the exception with a diagnostic message.- Parameters:
message- The message, naming the offending node and the inconsistency.
RegionTreeException