1
package net.sourceforge.symfonion.core;
4
public class ExceptionThrower {
6
public static void throwJSONException(String msg, Throwable t) throws SymfonionException {
7
throw new SymfonionException(msg, t);
10
public static void throwDeviceNotFoundException(String devicename) throws SymfonionException {
11
throw new SymfonionException("Device:<" + devicename + "> is not defined.");
14
public static void throwSyntaxException(String msg, Throwable t) throws SymfonionException {
15
throw new SymfonionException(msg, t);
18
public static void throwCompilationException(String msg, Throwable e) throws SymfonionException {
19
throw new SymfonionException(msg, e);
22
public static void throwLoadException(String msg, Throwable e) throws SymfonionException {
23
throw new SymfonionException(msg, e);
26
public static void throwNoteMapNotFoundException(String msg, Throwable e) throws SymfonionException {
27
throw new SymfonionException(msg, e);
30
public static void throwNoteNotDefinedException(String msg) throws SymfonionException {
31
throw new SymfonionException(msg);
34
public static void throwInstrumentNotFound(String msg, Throwable e) throws SymfonionException {
35
throw new SymfonionException(msg);
38
public static void throwDeviceException(String msg, Throwable e) throws SymfonionException {
39
throw new SymfonionException(e);
b'\\ No newline at end of file'