Package io.mybatis.common.exception
Class ServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.mybatis.common.exception.ServiceException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssertException
public class ServiceException extends RuntimeException
业务异常- Author:
- liuzh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceException(Code code)ServiceException(Code code, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodegetCode()voidsetCode(Code code)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-