public class ActErrorResult extends org.osgl.mvc.result.ErrorResult implements ActError
org.osgl.mvc.result.Result.PayloadActError.Util| Modifier and Type | Field and Description |
|---|---|
protected SourceInfo |
sourceInfo |
| Constructor and Description |
|---|
ActErrorResult(org.osgl.http.H.Status status) |
ActErrorResult(org.osgl.http.H.Status status,
int errorCode) |
ActErrorResult(org.osgl.http.H.Status status,
int errorCode,
java.lang.String message,
java.lang.Object... args) |
ActErrorResult(org.osgl.http.H.Status status,
int errorCode,
java.lang.Throwable cause) |
ActErrorResult(org.osgl.http.H.Status status,
int errorCode,
java.lang.Throwable cause,
java.lang.String message,
java.lang.Object... args) |
ActErrorResult(org.osgl.http.H.Status status,
java.lang.String message,
java.lang.Object... args) |
ActErrorResult(org.osgl.http.H.Status status,
java.lang.Throwable cause) |
ActErrorResult(org.osgl.http.H.Status status,
java.lang.Throwable cause,
java.lang.String message,
java.lang.Object... args) |
ActErrorResult(java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static ActErrorResult |
enhancingError(act.asm.AsmException exception) |
java.lang.Throwable |
getCauseOrThis() |
protected void |
init() |
boolean |
isErrorSpot(java.lang.String traceLine,
java.lang.String nextTraceLine) |
static org.osgl.mvc.result.ErrorResult |
of(org.osgl.http.H.Status status) |
static org.osgl.mvc.result.ErrorResult |
of(org.osgl.http.H.Status status,
int errorCode) |
static org.osgl.mvc.result.ErrorResult |
of(org.osgl.http.H.Status status,
int errorCode,
java.lang.String message,
java.lang.Object... args) |
static org.osgl.mvc.result.ErrorResult |
of(org.osgl.http.H.Status status,
java.lang.String message,
java.lang.Object... args) |
static org.osgl.mvc.result.Result |
of(int statusCode)
Deprecated.
|
static org.osgl.mvc.result.Result |
of(java.lang.Throwable t) |
static org.osgl.mvc.result.Result |
ofStatus(int statusCode) |
protected void |
populateSourceInfo(act.asm.AsmContext context) |
protected void |
populateSourceInfo(java.lang.Throwable t) |
static java.lang.Throwable |
rootCauseOf(java.lang.Throwable t) |
static ActErrorResult |
scanningError(act.asm.AsmException exception) |
SourceInfo |
sourceInfo() |
java.util.List<java.lang.String> |
stackTrace() |
int |
statusCode() |
_localizedErrorMsg, applyMessage, attach, attachment, attachment, defaultMessage, errorCode, errorCode, getLocalizedMessage, of, of, of, toJsonString, toKVStore, toStringaddCookie, addHeader, apply, applyAfterCommitHandler, applyBeforeCommitHandler, applyCookies, applyHeaders, applyStatus, clearThreadLocals, header, payload, status, status, timestamp, touchPayloaddoFillInStackTrace, fillInStackTraceaddSuppressed, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCause, getLocalizedMessage, getMessageprotected SourceInfo sourceInfo
public ActErrorResult(org.osgl.http.H.Status status)
public ActErrorResult(org.osgl.http.H.Status status,
java.lang.String message,
java.lang.Object... args)
public ActErrorResult(org.osgl.http.H.Status status,
int errorCode)
public ActErrorResult(org.osgl.http.H.Status status,
int errorCode,
java.lang.String message,
java.lang.Object... args)
public ActErrorResult(java.lang.Throwable cause)
public ActErrorResult(org.osgl.http.H.Status status,
java.lang.Throwable cause)
public ActErrorResult(org.osgl.http.H.Status status,
java.lang.Throwable cause,
java.lang.String message,
java.lang.Object... args)
public ActErrorResult(org.osgl.http.H.Status status,
int errorCode,
java.lang.Throwable cause,
java.lang.String message,
java.lang.Object... args)
public ActErrorResult(org.osgl.http.H.Status status,
int errorCode,
java.lang.Throwable cause)
public java.lang.Throwable getCauseOrThis()
getCauseOrThis in interface ActErrorpublic SourceInfo sourceInfo()
sourceInfo in interface ActErrorpublic int statusCode()
statusCode in class org.osgl.mvc.result.Resultpublic java.util.List<java.lang.String> stackTrace()
stackTrace in interface ActErrorpublic boolean isErrorSpot(java.lang.String traceLine,
java.lang.String nextTraceLine)
isErrorSpot in interface ActErrorprotected void init()
protected void populateSourceInfo(java.lang.Throwable t)
protected void populateSourceInfo(act.asm.AsmContext context)
public static org.osgl.mvc.result.Result of(java.lang.Throwable t)
public static ActErrorResult scanningError(act.asm.AsmException exception)
public static ActErrorResult enhancingError(act.asm.AsmException exception)
public static org.osgl.mvc.result.Result ofStatus(int statusCode)
@Deprecated public static org.osgl.mvc.result.Result of(int statusCode)
public static org.osgl.mvc.result.ErrorResult of(org.osgl.http.H.Status status)
public static org.osgl.mvc.result.ErrorResult of(org.osgl.http.H.Status status,
java.lang.String message,
java.lang.Object... args)
public static org.osgl.mvc.result.ErrorResult of(org.osgl.http.H.Status status,
int errorCode)
public static org.osgl.mvc.result.ErrorResult of(org.osgl.http.H.Status status,
int errorCode,
java.lang.String message,
java.lang.Object... args)
public static java.lang.Throwable rootCauseOf(java.lang.Throwable t)
Copyright © 2014–2017 ActFramework. All rights reserved.