All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kukababy.plus.exception.PlusRuntimeException Maven / Gradle / Ivy

The newest version!
package com.kukababy.plus.exception;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @describe 描述
 * @author [email protected]
 * @date 2014-3-26
 */
public class PlusRuntimeException extends RuntimeException implements Serializable {

	private static final Logger log = LoggerFactory.getLogger(PlusRuntimeException.class);

    public PlusRuntimeException() {
        super();
    }

    /**
     * @param code:错误代码或错误提示
     */
    public PlusRuntimeException(String errorMsg) {
        super(errorMsg);
    }

    /**
     * @param message
     * @param cause
     */
    public PlusRuntimeException(String errorMsg, Throwable cause) {
        super(errorMsg, cause);

    }

    /**
     * @param cause
     */
    public PlusRuntimeException(Throwable cause) {
        super(cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy