Class TryXmlAdapter.TryElement

java.lang.Object
dmx.fun.jakarta.jaxb.TryXmlAdapter.TryElement
Enclosing class:
TryXmlAdapter

public static class TryXmlAdapter.TryElement extends Object
JAXB-mapped element for Try.
  • Field Details

    • value

      public @Nullable String value
      Present when the computation succeeded; null otherwise.
    • error

      public @Nullable String error
      Present when the computation failed; holds the exception message.
  • Constructor Details

    • TryElement

      public TryElement()
      JAXB-required no-arg constructor.