/*
* $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);
}
}
|