com.fengduo.spark.commons.exception.ServiceException.java Source code

Java tutorial

Introduction

Here is the source code for com.fengduo.spark.commons.exception.ServiceException.java

Source

/*
 * Copyright 2015-2020 MSUN.comm All right reserved. This software is the confidential and proprietary information of
 * MSUN.comm ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with MSUN.comm.
 */
package com.fengduo.spark.commons.exception;

import org.springframework.stereotype.Component;

/**
 * @author zxc May 28, 2015 11:18:31 PM
 */
@Component
public class ServiceException extends Exception {

    private static final long serialVersionUID = 7300475600007121950L;

    public ServiceException() {

    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }

    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }
}