Skip to content

Commit

Permalink
boxlang support for abstract exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Sep 5, 2024
1 parent c1de41a commit 5e93c92
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion system/TestBox.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,14 @@ component accessors="true" {
// create new target bundle and get its metadata
try {
var target = getBundle( arguments.bundlePath );
} catch ( "AbstractComponentException" e ) {
}
// CFML
catch ( "AbstractComponentException" e ) {
// Skip abstract components
return this;
}
// BoxLang
catch ( "AbstractClassException" e ) {
// Skip abstract components
return this;
}
Expand Down

0 comments on commit 5e93c92

Please sign in to comment.