Package ch.ivyteam.ivy.jsf.bean.error
Class ErrorPageMBean
- java.lang.Object
-
- ch.ivyteam.ivy.jsf.bean.error.ErrorPageMBean
-
public class ErrorPageMBean extends Object
Used as managed bean namederrorPage
within the JSF error page(s) to show information about the exception.E.g. to display the exception error message:
<p:outputLabel value="#{errorPage.message}"/>
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getApplicationName()
List<Throwable>
getCausedBy()
BpmError
getError()
String
getErrorReportUrl()
Deprecated, for removal: This API element is subject to removal in a future version.this feature is moved to the engine cockpit.String
getExceptionId()
Class<?>
getExceptionType()
Locale
getLocale()
String
getMessage()
String
getPath()
String
getRequestUri()
String
getServletName()
String
getStackTrace()
int
getStatusCode()
String
getStatusText()
List<Map.Entry<String,String>>
getThreadLocalValues()
boolean
hasException()
boolean
isIvyException()
boolean
isShowDetails()
-
-
-
Method Detail
-
isIvyException
public boolean isIvyException()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getError
public BpmError getError()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getPath
public String getPath()
- Returns:
- the path to the BPM process, where the error occurred.
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
hasException
public boolean hasException()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getExceptionId
public String getExceptionId()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
isShowDetails
public boolean isShowDetails()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getMessage
public String getMessage()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getLocale
public Locale getLocale()
- Returns:
- the Locale of the current session e.g. en_GB
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getCausedBy
public List<Throwable> getCausedBy()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getThreadLocalValues
public List<Map.Entry<String,String>> getThreadLocalValues()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getStackTrace
public String getStackTrace()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getStatusCode
public int getStatusCode()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getStatusText
public String getStatusText()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getRequestUri
public String getRequestUri()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getServletName
public String getServletName()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getApplicationName
public String getApplicationName()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getExceptionType
public Class<?> getExceptionType()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getErrorReportUrl
@Deprecated(forRemoval=true) public String getErrorReportUrl()
Deprecated, for removal: This API element is subject to removal in a future version.this feature is moved to the engine cockpit.- Returns:
- empty string
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-