org.khaleesi.carfield.tools.sparkjobserver.api.SparkJobServerClientException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-job-server-client Show documentation
Show all versions of spark-job-server-client Show documentation
Java Lib for Spark Job Server Rest API
The newest version!
package org.khaleesi.carfield.tools.sparkjobserver.api;
/**
* The exception indicates errors occurs when using instance
* of ISparkJobServerClient
.
*
* @author bluebreezecf
* @since 2014-09-07
*
*/
public class SparkJobServerClientException extends Exception {
private static final long serialVersionUID = -5065403696198358625L;
/**
* Constructs a new SparkJobServerClientException
instance
* with the specified detail message. The cause is not initialized, and
* may subsequently be initialized by a call to initCause.
*
* @param message the detail message. The detail message is saved for
* later retrieval by the getMessage() method.
*/
public SparkJobServerClientException(String message) {
super(message);
}
/**
* Constructs a new SparkJobServerClientException
instance
* with the specified detail message and cause.
*
* @param message the detail message (which is saved for later retrieval
* by the {@link #getMessage()} method).
* @param cause the cause (which is saved for later retrieval by the
* {@link #getCause()} method). (A null value is
* permitted, and indicates that the cause is nonexistent or
* unknown.)
*/
public SparkJobServerClientException(String message, Throwable cause) {
super(message, cause);
}
}