com.mmj.app.common.exception.ServiceException.java Source code

Java tutorial

Introduction

Here is the source code for com.mmj.app.common.exception.ServiceException.java

Source

/*
 * Copyright 2011-2016 MSUN.com All right reserved. This software is the confidential and proprietary information of
 * MSUN.com ("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.com.
 */
package com.mmj.app.common.exception;

import org.springframework.stereotype.Component;

/**
 * @author zxc Jun 18, 2014 10:53:31 AM
 */
@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);
    }
}