001    package railo.runtime.err;
002    
003    import railo.runtime.PageSource;
004    
005    /**
006     * represent a Error Page
007     */
008    public interface ErrorPage {
009    
010        /**
011         * sets the mailto attribute
012         * @param mailto
013         */
014        public abstract void setMailto(String mailto);
015    
016        /**
017         * sets the template attribute
018         * @param template
019         */
020        public abstract void setTemplate(PageSource template);
021    
022        /**
023         * sets the exception attribute
024         * @param exception
025         */
026        public abstract void setTypeAsString(String exception);// FUTURE change to setException and mark this as deprecated
027    
028        /**
029         * @return Returns the mailto.
030         */
031        public abstract String getMailto();
032    
033        /**
034         * @return Returns the template.
035         */
036        public abstract PageSource getTemplate();
037    
038        /**
039         * @return Returns the exception type.
040         */
041        public abstract String getTypeAsString();// FUTURE change to getException and mark this as deprecated
042    
043    }