Class RegionTreeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.push.region.RegionTreeException
All Implemented Interfaces:
Serializable

public class RegionTreeException extends Exception
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 Details

    • RegionTreeException

      public RegionTreeException(String message)
      Constructs the exception with a diagnostic message.
      Parameters:
      message - The message, naming the offending node and the inconsistency.
    • RegionTreeException

      public RegionTreeException(String message, Throwable cause)
      Constructs the exception with a message and an underlying cause.
      Parameters:
      message - The message, naming the offending node and the inconsistency.
      cause - The underlying cause.