/** * Copyright (c) 2014-2017 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.eclipse.smarthome.core.voice; /** * General purpose keyword spotting exception * * @author Kelly Davis - Initial contribution and API */ public class KSException extends Exception { private static final long serialVersionUID = 1L; /** * Constructs a new exception with null as its detail message. */ public KSException() { super(); } /** * Constructs a new exception with the specified detail message and cause. * * @param message Detail message * @param cause The cause */ public KSException(String message, Throwable cause) { super(message, cause); } /** * Constructs a new exception with the specified detail message. * * @param message Detail message */ public KSException(String message) { super(message); } /** * Constructs a new exception with the specified cause. * * @param cause The cause */ public KSException(Throwable cause) { super(cause); } }