Class SpanListener.ForbiddenOperationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.tracing.SpanListener.ForbiddenOperationException
All Implemented Interfaces:
Serializable
Enclosing interface:
SpanListener

public static class SpanListener.ForbiddenOperationException extends RuntimeException
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 Details

    • ForbiddenOperationException

      public ForbiddenOperationException(String message)
      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.