Class A2aContractViolationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.xebialabs.xlrelease.a2a.server.A2aContractViolationException
All Implemented Interfaces:
Serializable

public class A2aContractViolationException extends RuntimeException
A handoff-contract violation: the caller omitted governance metadata a mutating skill requires (change reference, risk classification, …). Mapped to an A2A task in state TASK_STATE_REJECTED — the spec's "never accepted" outcome — rather than FAILED, which would suggest Release tried and broke. The message names the missing fields so a conforming agent can retry with a complete handoff; see the governance extension in documentation/proposals/a2a-agent-to-agent-support.md §5.3.
See Also:
  • Constructor Details

    • A2aContractViolationException

      public A2aContractViolationException(String message)