Skip to content

Commit

Permalink
Merge pull request #7390 from neilcsmith-net/exception-template
Browse files Browse the repository at this point in the history
Fix Exception template to extend from Exception
  • Loading branch information
neilcsmith-net authored Jun 3, 2024
2 parents 8a473b9 + 62ec83e commit 913cc1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import ${interface};
</#list>
<#assign implementation = "${implementation}"?remove_ending(", ")>
</#if>
public class ${name}<#if extension?? && extension != ""> extends ${extension}</#if><#if implementation?? && implementation != ""> implements ${implementation}</#if> {
public class ${name}<#if extension?? && extension != ""> extends ${extension}<#else> extends Exception</#if><#if implementation?? && implementation != ""> implements ${implementation}</#if> {

/**
* Creates a new instance of <code>${name}</code> without detail message.
Expand Down

0 comments on commit 913cc1e

Please sign in to comment.