All Downloads are FREE. Search and download functionalities are using the official Maven repository.

JavaVertXServer.apiException.mustache Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
package {{package}};

{{#imports}}import {{import}};
{{/imports}}

public final class {{classname}}Exception extends MainApiException {
    public {{classname}}Exception(int statusCode, String statusMessage) {
        super(statusCode, statusMessage);
    }
    
    {{#operations}}{{#operation}}{{#responses}}{{^isDefault}}public static final {{classname}}Exception {{baseName}}_{{{operationId}}}_{{{code}}}_Exception = new {{classname}}Exception({{{code}}}, "{{{message}}}");
    {{/isDefault}}{{/responses}}{{/operation}}{{/operations}}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy