    001    package org.deegree.portal.cataloguemanager.model;
    002
    003    /**
    004     *
    005     *
    006     *
    007     * @author <a href="mailto:poth@lat-lon.de">Andreas Poth</a>
    008     * @author last edited by: $Author: poth $
    009     *
    010     * @version. $Revision: 1.1 $, $Date: 2008-10-31 17:47:39 $
    011     */
    012    public class ExceptionBean {
    013
    014        private String message;
    015        private String source;
    016
    017        /**
    018         *
    019         *
    020         */
    021        public ExceptionBean() {
    022            this.message = "EXCEPTION:";
    023            this.source = "unknown";
    024        }
    025
    026        /**
    027         *
    028         * @param source
    029         * @param message
    030         */
    031        public ExceptionBean(String source, String message) {
    032            this.message = message;
    033            this.source = source;
    034        }
    035
    036        /**
    037         * @return the message
    038         */
    039        public String getMessage() {
    040            return message;
    041        }
    042        /**
    043         * @param message the message to set
    044         */
    045        public void setMessage( String message ) {
    046            this.message = message;
    047        }
    048        /**
    049         * @return the source
    050         */
    051        public String getSource() {
    052            return source;
    053        }
    054        /**
    055         * @param source the source to set
    056         */
    057        public void setSource( String source ) {
    058            this.source = source;
    059        }
    060    }