blob: f80cae50410845a0ac98b40d1324b486cfd11990 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package org.onap.vid.aai.exceptions;
import org.onap.vid.aai.AaiResponse;
import org.onap.vid.exceptions.GenericUncheckedException;
/**
* Created by Oren on 7/4/17.
*/
public class InvalidAAIResponseException extends GenericUncheckedException {
public InvalidAAIResponseException(AaiResponse aaiResponse) {
super(String.format("errorCode: %d, raw: %s", aaiResponse.getHttpCode(), aaiResponse.getErrorMessage()));
}
}
|