|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.faces.FacesException javax.faces.el.EvaluationException com.ibm.xsp.exception.EvaluationExceptionEx
public class EvaluationExceptionEx
Exception that keeps track of the source component/property. Used to display a better error message to the user. Not intended to be instantiated
Constructor Summary | |
---|---|
EvaluationExceptionEx(java.lang.String message,
javax.faces.el.MethodBinding binding)
Construct a new exception with the specified detail message and no root cause. |
|
EvaluationExceptionEx(java.lang.String message,
java.lang.Object[] params,
java.lang.Throwable cause,
javax.faces.el.MethodBinding binding)
Construct a new exception with the specified detail message and root cause. |
|
EvaluationExceptionEx(java.lang.String message,
java.lang.Object[] params,
java.lang.Throwable cause,
javax.faces.el.ValueBinding binding)
Construct a new exception with the specified detail message and root cause. |
|
EvaluationExceptionEx(java.lang.String message,
java.lang.Throwable cause,
javax.faces.el.MethodBinding binding)
Construct a new exception with the specified detail message and root cause. |
|
EvaluationExceptionEx(java.lang.String message,
java.lang.Throwable cause,
javax.faces.el.ValueBinding binding)
Construct a new exception with the specified detail message and root cause. |
|
EvaluationExceptionEx(java.lang.String message,
javax.faces.el.ValueBinding binding)
Construct a new exception with the specified detail message and no root cause. |
|
EvaluationExceptionEx(java.lang.Throwable cause,
javax.faces.el.MethodBinding binding)
Construct a new exception with the specified root cause. |
|
EvaluationExceptionEx(java.lang.Throwable cause,
javax.faces.el.ValueBinding binding)
Construct a new exception with the specified root cause. |
Method Summary | |
---|---|
java.lang.String |
getErrorComponentId()
Get the component ID that generated the error. |
java.lang.String |
getErrorPropertyId()
Get the component property that generated the error. |
java.lang.String |
getErrorText()
Get the expression text that generated the error. |
void |
printExtraInformation(java.io.PrintWriter err)
Print extra exception information for log files. |
Methods inherited from class javax.faces.FacesException |
---|
getCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EvaluationExceptionEx(java.lang.Throwable cause, javax.faces.el.ValueBinding binding)
cause
- of exceptionvalue
- binding that exception was thrown inpublic EvaluationExceptionEx(java.lang.Throwable cause, javax.faces.el.MethodBinding binding)
cause
- of exceptionmethod
- binding that exception was thrown inpublic EvaluationExceptionEx(java.lang.String message, javax.faces.el.ValueBinding binding)
error
- messagevalue
- binding that exception was thrown inpublic EvaluationExceptionEx(java.lang.String message, javax.faces.el.MethodBinding binding)
error
- messagemethod
- binding that exception was thrown inpublic EvaluationExceptionEx(java.lang.String message, java.lang.Throwable cause, javax.faces.el.ValueBinding binding)
error
- messagecause
- of exceptionvalue
- binding that exception was thrown inpublic EvaluationExceptionEx(java.lang.String message, java.lang.Throwable cause, javax.faces.el.MethodBinding binding)
error
- messagecause
- of exceptionmethod
- binding that exception was thrown inpublic EvaluationExceptionEx(java.lang.String message, java.lang.Object[] params, java.lang.Throwable cause, javax.faces.el.ValueBinding binding)
error
- messageerror
- message paramscause
- of exceptionvalue
- binding that exception was thrown inpublic EvaluationExceptionEx(java.lang.String message, java.lang.Object[] params, java.lang.Throwable cause, javax.faces.el.MethodBinding binding)
error
- messageerror
- message paramscause
- of exceptionmethod
- binding that exception was thrown inMethod Detail |
---|
public java.lang.String getErrorText()
XSPExceptionInfo
getErrorText
in interface XSPExceptionInfo
public java.lang.String getErrorComponentId()
XSPExceptionInfo
getErrorComponentId
in interface XSPExceptionInfo
public java.lang.String getErrorPropertyId()
XSPExceptionInfo
getErrorPropertyId
in interface XSPExceptionInfo
public void printExtraInformation(java.io.PrintWriter err)
printExtraInformation
in interface IExceptionEx
err
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |