001/*
002 * SPDX-FileCopyrightText: none
003 * SPDX-License-Identifier: CC0-1.0
004 */
005
006package gov.nist.secauto.metaschema.databind.io;
007
008/**
009 * Used to report exceptional conditions related to processing bound objects.
010 */
011public class BindingException
012    extends Exception {
013
014  /**
015   * The serial version UID.
016   */
017  private static final long serialVersionUID = 1L;
018
019  // public BindingException(String message, Throwable cause, boolean
020  // enableSuppression, boolean writableStackTrace) {
021  // super(message, cause, enableSuppression, writableStackTrace);
022  // }
023
024  /**
025   * Construct a new binding exception with the provided detail message and cause.
026   *
027   * @param message
028   *          the detail message
029   * @param cause
030   *          the cause of the exception
031   */
032  public BindingException(String message, Throwable cause) {
033    super(message, cause);
034  }
035
036  /**
037   * Construct a new binding exception with the provided detail message.
038   *
039   * @param message
040   *          the detail message
041   */
042  public BindingException(String message) {
043    super(message);
044  }
045
046  /**
047   * Construct a new binding exception with the provided cause.
048   *
049   * @param cause
050   *          the cause of the exception
051   */
052  public BindingException(Throwable cause) {
053    super(cause);
054  }
055
056}