public class FrameworkException extends RuntimeException
| 构造器和说明 |
|---|
FrameworkException()
Instantiates a new Framework exception.
|
FrameworkException(FrameworkErrorCode err)
Instantiates a new Framework exception.
|
FrameworkException(String msg)
Instantiates a new Framework exception.
|
FrameworkException(String msg,
FrameworkErrorCode errCode)
Instantiates a new Framework exception.
|
FrameworkException(Throwable th)
Instantiates a new Framework exception.
|
FrameworkException(Throwable th,
String msg)
Instantiates a new Framework exception.
|
FrameworkException(Throwable cause,
String msg,
FrameworkErrorCode errCode)
Instantiates a new Framework exception.
|
| 限定符和类型 | 方法和说明 |
|---|---|
FrameworkErrorCode |
getErrcode()
Gets errcode.
|
static FrameworkException |
nestedException(String msg,
Throwable e)
Nested exception framework exception.
|
static FrameworkException |
nestedException(Throwable e)
Nested exception framework exception.
|
static SQLException |
nestedSQLException(String msg,
Throwable e)
Nested sql exception sql exception.
|
static SQLException |
nestedSQLException(Throwable e)
Nested sql exception sql exception.
|
public FrameworkException()
public FrameworkException(FrameworkErrorCode err)
err - the errpublic FrameworkException(String msg)
msg - the msgpublic FrameworkException(String msg, FrameworkErrorCode errCode)
msg - the msgerrCode - the err codepublic FrameworkException(Throwable cause, String msg, FrameworkErrorCode errCode)
cause - the causemsg - the msgerrCode - the err codepublic FrameworkException(Throwable th)
th - the thpublic FrameworkErrorCode getErrcode()
public static FrameworkException nestedException(Throwable e)
e - the epublic static FrameworkException nestedException(String msg, Throwable e)
msg - the msge - the epublic static SQLException nestedSQLException(Throwable e)
e - the epublic static SQLException nestedSQLException(String msg, Throwable e)
msg - the msge - the eCopyright © 2019 Seata. All rights reserved.