// FacesException, so error is on event - doesn't get hit in examples. Can this still get hit??
FacesExceptionEx fe = (FacesExceptionEx) error;
try {
if ("lotus.domino.NotesException".equals(fe.getCause().getClass().getName())) {
// sometimes the cause is a NotesException
NotesException ne = (NotesException) fe.getCause();
msg = msg + "NotesException - " + Integer.toString(ne.id) + " " + ne.text;
} else if ("java.io.IOException".equals(error.getClass().getName())) {
IOException e = (IOException) error;