001    package org.andromda.core.common;
002    
003    /**
004     * Wraps any exception that occurs when merging.
005     *
006     * @see org.andromda.core.common.Merger
007     */
008    public class MergerException
009        extends RuntimeException
010    {
011        private static final long serialVersionUID = 34L;
012    
013        /**
014         * Constructs an instance of MergerException.
015         *
016         * @param parent the parent throwable
017         */
018        public MergerException(Throwable parent)
019        {
020            super(parent);
021        }
022    
023        /**
024         * Constructs an instance of MergerException.
025         *
026         * @param message the exception message
027         */
028        public MergerException(String message)
029        {
030            super(message);
031        }
032    
033        /**
034         * Constructs an instance of MergerException.
035         *
036         * @param message the exception message
037         * @param parent the parent throwable
038         */
039        public MergerException(
040            String message,
041            Throwable parent)
042        {
043            super(message, parent);
044        }
045    }