cfpb / regulations-site

(DEPRECATED) Web interface for viewing U.S. federal regulations and other regulatory information
Other
28 stars 43 forks source link

Subterp 404 #543

Closed cmc333333 closed 10 years ago

cmc333333 commented 10 years ago

Instead of using a bool to guard the tree check, use a method. Subterps (which don't exist in the tree) can override that method and only throw the missing section exception if they would contain no interpretations.