Class DoNotImplementException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hivemq.extension.sdk.api.services.exception.DoNotImplementException
All Implemented Interfaces:
Serializable

public class DoNotImplementException
extends RuntimeException
This exception is used to signal that a given interface, annotated with DoNotImplement was falsely implemented by an extension.
Since:
4.0.0, CE 2019.1
See Also:
Serialized Form
  • Constructor Details

    • DoNotImplementException

      public DoNotImplementException​(@NotNull String implementedClass, boolean fillInStacktrace)
      Creates a new DoNotImplementException.
      Parameters:
      implementedClass - The name of the implemented class.
      fillInStacktrace - Whether the created exception should fill in a stacktrace.
      Since:
      4.0.0, CE 2019.1
    • DoNotImplementException

      public DoNotImplementException​(@NotNull String implementedClass)
      Creates a new DoNotImplementException that will not contain a stacktrace.
      Parameters:
      implementedClass - The name of the implemented class.
      Since:
      4.0.0, CE 2019.1
  • Method Details