001    package railo.runtime.exp;
002    
003    import railo.commons.lang.StringUtil;
004    
005    
006    /**
007     * 
008     */
009    public final class DeprecatedException extends ApplicationException {
010    
011            public DeprecatedException(String tagName, String attrName) {
012                    super(StringUtil.isEmpty(attrName)?
013                                    "the tag ["+tagName+"] is longer supported":
014                                    "the attribute ["+attrName+"] of the tag ["+tagName+"] is no longer supported");
015            }
016            public DeprecatedException(String msg) {
017                    super(msg);
018            }
019    }