Class LocatedException

    • Constructor Detail

      • LocatedException

        public LocatedException​(String message,
                                Location optionalLocation)
      • LocatedException

        public LocatedException​(String message,
                                Location optionalLocation,
                                Throwable optionalCause)
    • Method Detail

      • getMessage

        public String getMessage()
        Returns the message specified at creation time, preceeded with nicely formatted location information (if any).
        Overrides:
        getMessage in class Throwable
      • getLocation

        public Location getLocation()
        Returns:
        The Location specified at construction time (may be null)