All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentcs.access.CredentialsException Maven / Gradle / Ivy

// SPDX-FileCopyrightText: The openTCS Authors
// SPDX-License-Identifier: MIT
package org.opentcs.access;

import java.io.Serializable;

/**
 * Thrown when there are insufficient user permissions to perform an operation.
 */
public class CredentialsException
    extends
      KernelRuntimeException
    implements
      Serializable {

  /**
   * Constructs a CredentialsException with no detail message.
   */
  public CredentialsException() {
    super();
  }

  /**
   * Constructs a CredentialsException with the specified detail message.
   *
   * @param message The detail message.
   */
  public CredentialsException(String message) {
    super(message);
  }

  /**
   * Constructs a CredentialsException with the specified detail message and
   * cause.
   *
   * @param message The detail message.
   * @param cause The exception's cause.
   */
  public CredentialsException(String message, Throwable cause) {
    super(message, cause);
  }

  /**
   * Constructs a CredentialsException with the specified cause and a detail
   * message of (cause == null ? null : cause.toString()) (which
   * typically contains the class and detail message of cause).
   *
   * @param cause The exception's cause.
   */
  public CredentialsException(Throwable cause) {
    super(cause);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy