001/* 002 * Title: CoreMIDI4J 003 * Description: Core MIDI Device Provider for Java on OS X 004 * Copyright: Copyright (c) 2015-2016 005 * Company: x.factory Librarians 006 * 007 * @author Derek Cook 008 * 009 * CoreMIDI4J is an open source Service Provider Interface for supporting external MIDI devices on MAC OS X 010 * 011 * CREDITS - This library uses principles established by OSXMIDI4J, but converted so it operates at the JNI level with no additional libraries required 012 * 013 */ 014 015package uk.co.xfactorylibrarians.coremidi4j; 016 017/** 018 * CoreMidiException - thrown by the JNI Native Code if errors are detected during processing. 019 * 020 */ 021 022public class CoreMidiException extends Exception { 023 024 /** 025 * Default constructor 026 * 027 * @param message The error message to include in the exception 028 * 029 */ 030 031 public CoreMidiException(String message) { 032 033 super(message); 034 035 } 036 037 /** 038 * Constructor with an underlying cause 039 * 040 * @param message the error message to include in the exception 041 * 042 * @param cause the underlying exception or other throwable being wrapped 043 */ 044 public CoreMidiException(String message, Throwable cause) { 045 046 super(message, cause); 047 048 } 049 050}