Class UnknownSchemeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.craftsblock.craftsnet.api.exceptions.UnknownSchemeException
All Implemented Interfaces:
Serializable

public class UnknownSchemeException extends RuntimeException
Exception thrown when an unknown or unsupported scheme is encountered.
Since:
3.3.2-SNAPSHOT
See Also:
  • Constructor Details

    • UnknownSchemeException

      public UnknownSchemeException(Scheme scheme)
      Constructs a new UnknownSchemeException with a message derived from the provided scheme.
      Parameters:
      scheme - The Scheme that is unknown or unsupported.
    • UnknownSchemeException

      public UnknownSchemeException(String message)
      Constructs a new UnknownSchemeException with the specified detail message.
      Parameters:
      message - The detail message for this exception.