public class UrlException extends RuntimeException
| Constructor and Description |
|---|
UrlException(String scheme,
String host,
int port,
String path,
Throwable cause)
Create the exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
The host used to build malformed URL.
|
String |
getPath()
The path used to build malformed URL.
|
int |
getPort()
The port used to build malformed URL.
|
String |
getScheme()
The scheme used to build malformed URL.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getScheme()
public String getHost()
public int getPort()
public String getPath()
Copyright © 2018. All rights reserved.