Class LocatorException

  • All Implemented Interfaces:
    Serializable

    public class LocatorException
    extends RuntimeException

    An exception class for reporting error conditions related to Locator objects.

    Exceptions of this type can be thrown by the methods of the Locator interface if the resources they should represent are invalid or cannot be found. Note that this is a runtime exception because error conditions of this type are usually caused by programming errors and cannot be recovered from.

    Version:
    $Id: LocatorException.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    See Also:
    Serialized Form
    • Constructor Detail

      • LocatorException

        public LocatorException()
        Creates a new instance of LocatorException.
      • LocatorException

        public LocatorException​(String msg)
        Creates a new instance of LocatorException and sets an error message.
        Parameters:
        msg - the error message
      • LocatorException

        public LocatorException​(String msg,
                                Throwable cause)
        Creates a new instance of LocatorException and sets an error message and a root cause.
        Parameters:
        msg - the error message
        cause - the root cause
      • LocatorException

        public LocatorException​(Throwable cause)
        Creates a new instance of LocatorException and sets the root cause.
        Parameters:
        cause - the root cause