public class AzollaException extends RuntimeException
| 构造器和说明 |
|---|
AzollaException(ErrorCoder errorCode) |
AzollaException(ErrorCoder errorCode,
String message) |
AzollaException(ErrorCoder errorCode,
String message,
Throwable cause) |
AzollaException(ErrorCoder errorCode,
Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
get(String key) |
ErrorCoder |
getErrorCode() |
Map<String,Object> |
getProperties() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
AzollaException |
set(String key,
Object value) |
void |
setErrorCode(ErrorCoder errorCode) |
static AzollaException |
wrap(Throwable cause) |
static AzollaException |
wrap(Throwable cause,
ErrorCoder errorCode) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic AzollaException(ErrorCoder errorCode)
public AzollaException(ErrorCoder errorCode, String message)
public AzollaException(ErrorCoder errorCode, Throwable cause)
public AzollaException(ErrorCoder errorCode, String message, Throwable cause)
public static AzollaException wrap(Throwable cause)
public static AzollaException wrap(Throwable cause, ErrorCoder errorCode)
public void printStackTrace(PrintStream s)
printStackTrace 在类中 Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace 在类中 Throwablepublic AzollaException set(String key, Object value)
public ErrorCoder getErrorCode()
public void setErrorCode(@Nullable ErrorCoder errorCode)
Copyright © 2011–2015 Azollas. All rights reserved.