StopwatchStorageException.java :  » Profiler » stopwatch » com » commsen » stopwatch » Java Open Source

Java Open Source » Profiler » stopwatch 
stopwatch » com » commsen » stopwatch » StopwatchStorageException.java
/*
 * $Id: StopwatchStorageException.java,v 1.1 2006/03/06 11:30:53 azzazzel Exp $
 *
 * Copyright 2006 Commsen International
 * 
 * Licensed under the Common Public License, Version 1.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.opensource.org/licenses/cpl1.0.txt
 * 
 * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
 * EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS 
 * OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
 *
 */
package com.commsen.stopwatch;

/**
 * Thrown when error occures while reading or writing data from/to given storage.
 * If storage is database, this class acts as simple wrapper for SQLException. 
 *
 * @author Milen Dyankov
 *
 */
public class StopwatchStorageException extends Exception {

  /**
   * 
   */
  private static final long serialVersionUID = 1L;

  /**
   * 
   */
  public StopwatchStorageException() {
    super();
  }

  /**
   * @param message
   */
  public StopwatchStorageException(String message) {
    super(message);
  }

  /**
   * @param cause
   */
  public StopwatchStorageException(Throwable cause) {
    super(cause);
  }

  /**
   * @param message
   * @param cause
   */
  public StopwatchStorageException(String message, Throwable cause) {
    super(message, cause);
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.