Interface Failure

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<? extends Failure> getCauses()
      Returns the underlying causes for this failure, if any.
      java.lang.String getDescription()
      Returns a long description of the failure.
      java.lang.String getMessage()
      Returns a short message (typically one line) for the failure.
    • Method Detail

      • getMessage

        @Nullable
        java.lang.String getMessage()
        Returns a short message (typically one line) for the failure.
        Returns:
        the failure message
      • getDescription

        @Nullable
        java.lang.String getDescription()
        Returns a long description of the failure. For example, a stack trace.
        Returns:
        a long description of the failure
      • getCauses

        java.util.List<? extends Failure> getCauses()
        Returns the underlying causes for this failure, if any.
        Returns:
        the causes for this failure. Returns an empty list if this failure has no causes.