001/* -*- mode: Java; c-basic-offset: 2; indent-tabs-mode: nil; coding: utf-8-unix -*-
002 *
003 * Copyright © 2023–2025 microBean™.
004 *
005 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
006 * the License. You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
011 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
012 * specific language governing permissions and limitations under the License.
013 */
014package org.microbean.reference;
015
016/**
017 * A {@link ReferenceException} indicating that a client proxy class could not be instantiated.
018 *
019 * @author <a href="https://about.me/lairdnelson" target="_top">Laird Nelson</a>
020 */
021public class ClientProxyInstantiationException extends ReferenceException {
022
023  private static final long serialVersionUID = 1L;
024
025  /**
026   * Creates a new {@link ClientProxyInstantiationException}.
027   */
028  public ClientProxyInstantiationException() {
029    super();
030  }
031
032  /**
033   * Creates a new {@link ClientProxyInstantiationException}.
034   *
035   * @param message a detail message; may be {@code null}
036   */
037  public ClientProxyInstantiationException(final String message) {
038    super(message);
039  }
040
041  /**
042   * Creates a new {@link ClientProxyInstantiationException}.
043   *
044   * @param cause a {@link Throwable} causing this {@link ClientProxyInstantiationException} to be created; may be
045   * {@code null}
046   */
047  public ClientProxyInstantiationException(final Throwable cause) {
048    super(cause);
049  }
050
051  /**
052   * Creates a new {@link ClientProxyInstantiationException}.
053   *
054   * @param message a detail message; may be {@code null}
055   *
056   * @param cause a {@link Throwable} causing this {@link ClientProxyInstantiationException} to be created; may be
057   * {@code null}
058   */
059  public ClientProxyInstantiationException(final String message,
060                                           final Throwable cause) {
061    super(message, cause);
062  }
063
064}