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

com.github.electrostar.picolib.exception.UnitNotFoundException Maven / Gradle / Ivy

There is a newer version: 0.0.2
Show newest version
/* 
 * picolib, open source library to work with PicoScopes.
 * Copyright (C) 2018-2019 ElectroStar 
 *
 * This file is part of picolib.
 *
 * picolib is free software: you can redistribute it and/or 
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation, either
 *  version 3 of the License, or (at your option) any later version.
 *
 * picolib is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with picolib. If not, see .
 */

package com.github.electrostar.picolib.exception;

/**
 * Throws when a PicoScope could not be found or opend.
 * 
 * @since 0.0.1
 * @author ElectroStar
 */
public class UnitNotFoundException extends PicoException {

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

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

  /**
   * Constructs a {@code UnitNotFoundException} with the specified detail message and cause.
   * 

* Note that the detail message associated with cause is not automatically incorporated in this * unit not found exception's detail message. *

* @param message the detail message. * @param cause the cause. */ public UnitNotFoundException(String message, Throwable cause) { super(message, cause); } /** * Constructs a {@code UnitNotFoundException} with the specified cause. * @param cause the cause. */ public UnitNotFoundException(Throwable cause) { super(cause); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy