public abstract class TemplateException extends ActErrorResult
Base class for Template error
org.osgl.mvc.result.Result.Payload
ActError.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, toString
addCookie, addHeader, apply, applyAfterCommitHandler, applyBeforeCommitHandler, applyCookies, applyHeaders, applyStatus, clearThreadLocals, header, payload, status, status, timestamp, touchPayload
doFillInStackTrace, fillInStackTrace
addSuppressed, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocalizedMessage, getMessage
protected 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 ActError
isErrorSpot
in class ActErrorResult
public 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.