public class IppRequestException
extends java.lang.RuntimeException
IppRequest.| Constructor and Description |
|---|
IppRequestException(IppResponse ippResponse)
Constructs a new runtime exception with the specified IPP response.
|
IppRequestException(IppResponse ippResponse,
java.lang.Throwable cause)
Constructs a new runtime exception with the specified IPP response
and cause.
|
| Modifier and Type | Method and Description |
|---|---|
IppResponse |
getResponse()
Gets the error response of the request
|
public IppRequestException(IppResponse ippResponse)
Throwable.initCause(java.lang.Throwable).ippResponse - the response which was received with a problematic
IppRequestpublic IppRequestException(IppResponse ippResponse, java.lang.Throwable cause)
ippResponse - the response which was received with a problematic
IppRequestcause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public IppResponse getResponse()
Copyright © 2018–2020. All rights reserved.