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

javaVertXServer.apiException.mustache Maven / Gradle / Ivy

The 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 {{classname}}Exception {{classname}}_{{{operationId}}}_{{{code}}}_createException() {
        return new {{classname}}Exception({{{code}}}, "{{{message}}}");
    }
    {{/isDefault}}{{/responses}}{{/operation}}{{/operations}}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy