Class UnknownSchemeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.craftsblock.craftsnet.api.exceptions.UnknownSchemeException
- All Implemented Interfaces:
Serializable
Exception thrown when an unknown or unsupported scheme is encountered.
- Since:
- 3.3.2-SNAPSHOT
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownSchemeException(Scheme scheme) Constructs a newUnknownSchemeExceptionwith a message derived from the provided scheme.UnknownSchemeException(String message) Constructs a newUnknownSchemeExceptionwith 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 Details
-
UnknownSchemeException
Constructs a newUnknownSchemeExceptionwith a message derived from the provided scheme.- Parameters:
scheme- TheSchemethat is unknown or unsupported.
-
UnknownSchemeException
Constructs a newUnknownSchemeExceptionwith the specified detail message.- Parameters:
message- The detail message for this exception.
-