001    package net.sf.jolene.dom;
002    
003    /**
004     * Exception thrown by the grid's bind method. It's a wrapper around exceptions thrown by BeanUtils.
005     * Specifically:
006     * IllegalAccessException
007     * InvocationTargetException
008     * NoSuchMethodException
009     *
010     * @author Dan Howard
011     * @since Sep 1, 2008 7:33:41 AM
012     */
013    public final class GridBindException extends RuntimeException {
014    
015        /**
016         *
017         */
018        public GridBindException() {
019        }
020    
021        /**
022         * Constructs the exception with the specified message string.
023         *
024         * @param message - message string
025         */
026        public GridBindException(String message) {
027            super(message);
028        }
029    
030        /**
031         * Constructs the exception with the specified cause.
032         *
033         * @param cause - cause of the exception
034         */
035        public GridBindException(Throwable cause) {
036            super(cause);
037        }
038    
039        /**
040         * Constructs the exception with the specified message string and cause.
041         *
042         * @param message - message string
043         * @param cause   - cause of the exception
044         */
045        public GridBindException(String message, Throwable cause) {
046            super(message, cause);
047        }
048    
049    }