Class AS2HttpResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.helger.as2lib.exception.AS2Exception
-
- com.helger.as2lib.processor.sender.AS2HttpResponseException
-
- All Implemented Interfaces:
Serializable
public class AS2HttpResponseException extends AS2Exception
SpecialAS2Exception
with HTTP URL details- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AS2HttpResponseException(String sUrl, int nCode, String sMessage)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
String
getMessage()
String
getUrl()
-
Methods inherited from class com.helger.as2lib.exception.AS2Exception
getSourceMsg, log, log, setSourceMsg, terminate, terminate, terminate
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getCode
public int getCode()
- Returns:
- The HTTP status code retrieved.
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
- Returns:
- The HTTP status text retrieved.
-
-