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

templates.common.model-exception-class.ftl Maven / Gradle / Ivy

${fileHeader}
package ${metadata.packageName}.model;

import javax.annotation.Generated;

/**
 * <#if shape.documentation?has_content>${shape.documentation}
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ${shape.shapeName} extends ${baseClassFqcn} {
    private static final long serialVersionUID = 1L;

    <@VariableDeclarationMacro.content shape/>

    /**
     * Constructs a new ${shape.shapeName} with the specified error
     * message.
     *
     * @param message Describes the error encountered.
     */
    public ${shape.shapeName}(String message) {
        super(message);
    }

    <#if MethodDefinitionMacro?has_content>
    <@MethodDefinitionMacro.content customConfig shape shape.shapeName/>
    

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy