Class PagerDutyParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
systems.comodal.pagerduty.exceptions.PagerDutyParseException
All Implemented Interfaces:
java.io.Serializable, PagerDutyClientException

public final class PagerDutyParseException
extends java.lang.RuntimeException
implements PagerDutyClientException
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.String message)  
    PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.String message, java.lang.String buffer)  
    PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.String message, java.lang.Throwable cause)  
    PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.Throwable cause)  
    PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.Throwable cause, java.lang.String buffer)  
  • Method Summary

    Modifier and Type Method Description
    boolean canBeRetried()  
    java.lang.String getBuffer()  
    long getErrorCode()  
    java.util.List<java.lang.String> getErrors()  
    java.net.http.HttpResponse<?> getHttpResponse()  
    static PagerDutyParseException unhandledField​(java.net.http.HttpResponse<?> httpResponse, java.lang.String context, java.lang.String field, java.lang.String buffer)  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PagerDutyParseException

      public PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.String message, java.lang.String buffer)
    • PagerDutyParseException

      public PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.String message, java.lang.Throwable cause)
    • PagerDutyParseException

      public PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.String message)
    • PagerDutyParseException

      public PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.Throwable cause)
    • PagerDutyParseException

      public PagerDutyParseException​(java.net.http.HttpResponse<?> httpResponse, java.lang.Throwable cause, java.lang.String buffer)
  • Method Details