Class RestFailure

java.lang.Object
com.peterphi.std.guice.restclient.jaxb.RestFailure

public class RestFailure extends Object
Wire type for the common REST exception representation
  • Field Details

    • id

      public String id
      The unique id assigned to this exception
    • date

      public Date date
    • source

      public String source
      The throwing server and/or application
    • errorCode

      public long errorCode
      The numeric code associated with this exception
    • httpCode

      public int httpCode
      The HTTP code associated with this exception
    • exception

      public ExceptionInfo exception
    • any

      public List<javax.xml.bind.JAXBElement<?>> any
  • Constructor Details

    • RestFailure

      public RestFailure()