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 withDoNotImplement
was falsely implemented by an extension.- Since:
- 4.0.0, CE 2019.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DoNotImplementException(@NotNull String implementedClass)
Creates a new DoNotImplementException that will not contain a stacktrace.DoNotImplementException(@NotNull String implementedClass, boolean fillInStacktrace)
Creates a new DoNotImplementException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Throwable
fillInStackTrace()
@NotNull String
getImplementedClass()
Returns the name of the implemented class.-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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
-
-