Package info.freelibrary.util
Class MalformedUrlException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- info.freelibrary.util.MalformedUrlException
-
- All Implemented Interfaces:
Serializable
public class MalformedUrlException extends RuntimeException
Creates a malformed URL runtime exception. The exception is intended to be used with configuration URLs rather than URLs that are supplied by users. Validation of configuration input should be done at an earlier point.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalformedUrlException()
Constructs a MalformedUrlException with no detail message.MalformedUrlException(String aMessage)
Constructs a MalformedUrlException with the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MalformedUrlException
public MalformedUrlException()
Constructs a MalformedUrlException with no detail message.
-
MalformedUrlException
public MalformedUrlException(String aMessage)
Constructs a MalformedUrlException with the specified detail message.- Parameters:
aMessage
- A detail message.
-
-