// Code generated by openapi-nexus. DO NOT EDIT.
//
// Complex Array Structure Test — 1.0.0
// Test case for array of inline objects where each object has nested inline objects
package com.example.sdk.runtime;
public class ApiException extends RuntimeException {
private final int statusCode;
private final String status;
private final String body;
public ApiException(int statusCode, String status, String body) {
super("API error " + statusCode + ": " + status);
this.statusCode = statusCode;
this.status = status;
this.body = body;
}
public int getStatusCode() {
return statusCode;
}
public String getStatus() {
return status;
}
public String getBody() {
return body;
}
}