1 /* 2 * Copyright (c) 2005-2007 Creative Sphere Limited. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * 10 * Creative Sphere - initial API and implementation 11 * 12 */ 13 package org.abstracthorizon.danube.service; 14 15 /** 16 * Service exception 17 * 18 * @author Daniel Sendula 19 */ 20 public class ServiceException extends RuntimeException { 21 22 /** 23 * Empty constructor 24 */ 25 public ServiceException() { 26 } 27 28 /** 29 * Constructor 30 * @param msg message 31 */ 32 public ServiceException(String msg) { 33 super(msg); 34 } 35 36 /** 37 * Constructor 38 * @param cause cause 39 */ 40 public ServiceException(Throwable cause) { 41 super(cause); 42 } 43 44 /** 45 * Constructor 46 * @param msg message 47 * @param cause cause 48 */ 49 public ServiceException(String msg, Throwable cause) { 50 super(msg, cause); 51 } 52 }