org.jmusixmatch.MusixMatchException Maven / Gradle / Ivy
package org.jmusixmatch;
/**
* A custom exception for the MusixMatch.
*
* @author Sachin Handiekar
* @version 1.0
*/
@SuppressWarnings("serial")
public class MusixMatchException extends Exception {
/**
* Constructs a new exception with the specified message.
*
* @param message
* the reason for the exception
*/
public MusixMatchException(String message) {
super(message);
}
/**
* Constructs a new exception with the specified message and wrapped
* exception.
*
* @param message
* the reason for the exception
* @param cause
* the internal exception that caused this exception
*/
public MusixMatchException(String message, Throwable cause) {
super(message, cause);
}
}