com.sdklite.rpc.RpcException Maven / Gradle / Ivy
package com.sdklite.rpc;
/**
* Represents the exception occurred in RPC
*
* @author johnsonlee
*
*/
@SuppressWarnings("serial")
public class RpcException extends Exception {
/**
* Default constructor
*/
public RpcException() {
super();
}
/**
* Instantialize with message and cause
*
* @param message
* The message
* @param cause
* The cause
*/
public RpcException(final String message, final Throwable cause) {
super(message, cause);
}
/**
* Instantialize with message
*
* @param message
* The message
*/
public RpcException(final String message) {
super(message);
}
/**
* Instantialize with cause
*
* @param cause
* The cause
*/
public RpcException(final Throwable cause) {
super(cause);
}
}