1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.metaschema.databind.io;
7   
8   /**
9    * Used to report exceptional conditions related to processing bound objects.
10   */
11  public class BindingException
12      extends Exception {
13  
14    /**
15     * The serial version UID.
16     */
17    private static final long serialVersionUID = 1L;
18  
19    // public BindingException(String message, Throwable cause, boolean
20    // enableSuppression, boolean writableStackTrace) {
21    // super(message, cause, enableSuppression, writableStackTrace);
22    // }
23  
24    /**
25     * Construct a new binding exception with the provided detail message and cause.
26     *
27     * @param message
28     *          the detail message
29     * @param cause
30     *          the cause of the exception
31     */
32    public BindingException(String message, Throwable cause) {
33      super(message, cause);
34    }
35  
36    /**
37     * Construct a new binding exception with the provided detail message.
38     *
39     * @param message
40     *          the detail message
41     */
42    public BindingException(String message) {
43      super(message);
44    }
45  
46    /**
47     * Construct a new binding exception with the provided cause.
48     *
49     * @param cause
50     *          the cause of the exception
51     */
52    public BindingException(Throwable cause) {
53      super(cause);
54    }
55  
56  }