java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.tracing.SpanListener.ForbiddenOperationException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
SpanListener
Exception indicating that a
SpanListener
has invoked an operation that is not permitted.
If a listener invokes a method which alters the state of a Span.Builder
, Span
, or
Scope
passed as a parameter, Helidon throws this exception.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new instance of the exception with no message.ForbiddenOperationException
(String message) Creates a new instance of the exception with the specified 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
-
ForbiddenOperationException
Creates a new instance of the exception with the specified message.- Parameters:
message
- message to set for the exception
-
ForbiddenOperationException
public ForbiddenOperationException()Creates a new instance of the exception with no message.
-