
templates.common.model-exception-class.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-code-generator Show documentation
Show all versions of aws-java-sdk-code-generator Show documentation
The AWS SDK for Java - Code Generator module holds the classes and templates required to generate the AWS Java SDK clients for AWS services.
${fileHeader}
package ${metadata.packageName}.model;
/**
* <#if shape.documentation?has_content>${shape.documentation}#if>
*/
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/>
#if>
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy