Package nu.xom

Class MalformedURIException

  • All Implemented Interfaces:
    Serializable

    public class MalformedURIException
    extends IllegalDataException

    Indicates that a string intended for use as a URI or URI reference (typically a namespace name or a base URI) is not syntactically correct according to RFC 3986.

    Version:
    1.1b3
    Author:
    Elliotte Rusty Harold
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MalformedURIException​(String message)
      Creates a new MalformedURIException with a detail message.
      MalformedURIException​(String message, Throwable cause)
      Creates a new MalformedURIException with a detail message and an underlying root cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MalformedURIException

        public MalformedURIException​(String message)

        Creates a new MalformedURIException with a detail message.

        Parameters:
        message - a string indicating the specific problem
      • MalformedURIException

        public MalformedURIException​(String message,
                                     Throwable cause)

        Creates a new MalformedURIException with a detail message and an underlying root cause.

        Parameters:
        message - a string indicating the specific problem
        cause - the original cause of this exception