public class AdManagerApiException extends AdManagerException
Constructor and Description |
---|
AdManagerApiException(Exception e)
Intialise a custom exception from the provided one.
|
AdManagerApiException(Exception e,
AdManagerConnectorOperation dfpConnectorOperation)
Intialise a custom exception from the provided one.
|
Modifier and Type | Method and Description |
---|---|
AdManagerConnectorOperation |
getOperationCausingException()
Returns the current operation exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AdManagerApiException(Exception e)
e
- the root cause exceptionpublic AdManagerApiException(Exception e, AdManagerConnectorOperation dfpConnectorOperation)
e
- the root cause exceptiondfpConnectorOperation
- an enum specifying the respective operationpublic AdManagerConnectorOperation getOperationCausingException()
AdManagerConnectorOperation
.Copyright © 2010–2019. All rights reserved.