com.jrodmanu.mattermostjavasdk.models.exceptions.MattermostException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mattermost-java-sdk Show documentation
Show all versions of mattermost-java-sdk Show documentation
Connects java to a Mattermost API
package com.jrodmanu.mattermostjavasdk.models.exceptions;
/**
* Generic error thrown by the mattermost-java-sdk
*/
public class MattermostException extends Exception {
/**
* Constructor for a new error
* @param message the message to be printed for the exception
*/
public MattermostException(String message) {
super(message);
}
/**
* Constuctor to keep stack trace
* @param message the message to be printed for the exception
* @param cause the Throwable object that caused this exception
*/
public MattermostException(String message, Throwable cause) {
super(message, cause);
}
}