public abstract class TemplateException extends ActErrorResult
Base class for Template error
org.osgl.mvc.result.Result.PayloadActError.Util| Modifier and Type | Field and Description |
|---|---|
protected SourceInfo |
templateInfo |
sourceInfo| Constructor and Description |
|---|
TemplateException(java.lang.Exception t) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
errorMessage() |
protected java.lang.String |
findErrorSpotTraceLine(java.util.List<java.lang.String> stackTrace) |
java.lang.Throwable |
getCause() |
java.lang.Throwable |
getDirectCause() |
protected static SourceInfo |
getJavaSourceInfo(java.lang.Throwable cause) |
boolean |
isErrorSpot(java.lang.String traceLine,
java.lang.String nextTraceLine) |
protected abstract boolean |
isTemplateEngineInvokeLine(java.lang.String line) |
SourceInfo |
templateSourceInfo() |
enhancingError, getCauseOrThis, init, of, of, of, of, of, of, ofStatus, populateSourceInfo, populateSourceInfo, rootCauseOf, scanningError, sourceInfo, stackTrace, 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, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocalizedMessage, getMessageprotected SourceInfo templateInfo
public final SourceInfo templateSourceInfo()
public abstract java.lang.String errorMessage()
public boolean isErrorSpot(java.lang.String traceLine,
java.lang.String nextTraceLine)
isErrorSpot in interface ActErrorisErrorSpot in class ActErrorResultpublic java.lang.Throwable getCause()
public java.lang.Throwable getDirectCause()
protected java.lang.String findErrorSpotTraceLine(java.util.List<java.lang.String> stackTrace)
protected static SourceInfo getJavaSourceInfo(java.lang.Throwable cause)
protected abstract boolean isTemplateEngineInvokeLine(java.lang.String line)
Copyright © 2014–2017 ActFramework. All rights reserved.