Class UrlBuilder.DisallowedSchemeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
cloud.opencode.base.web.url.UrlBuilder.DisallowedSchemeException
- All Implemented Interfaces:
Serializable
- Enclosing class:
UrlBuilder
Thrown by
UrlBuilder.scheme(String) when the input scheme is not in the
{http, https} allowlist. Subclass of IllegalArgumentException for binary
compatibility with callers that catch the parent.
UrlBuilder.scheme(String) 在 scheme 不在 {http, https} 允许列表时抛出。
继承 IllegalArgumentException 以保持对捕获父类的调用方的二进制兼容。- Since:
- opencode-base-web V1.0.4
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDisallowedSchemeException(String message) DisallowedSchemeException(String message, Throwable cause) V1.0.4 sec round-6 P1: companion(String, Throwable)constructor so callers wrapping with cause-preservation idioms don't lose the cause chain. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DisallowedSchemeException
-
DisallowedSchemeException
-