Package lotus.domino

Examples of lotus.domino.NotesException


      // 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;
View Full Code Here


        olDoc.replaceItemValue("Form", _logFormName);
        Throwable t = ollr._logRec.getThrown();
        if (t != null) {
          StackTraceElement[] sttr = t.getStackTrace();
          int interestingInd = (sttr.length == 0) ? -11 : 0;
          NotesException ne = null;
          if (t instanceof NotesException)
            ne = (NotesException) t;
          else if (t instanceof OpenNTFNotesException && t.getCause() instanceof NotesException) {
            ne = (NotesException) t.getCause();
            interestingInd++;
View Full Code Here

      int debugLevel = Integer.parseInt(olDebugLevel);
      if (debugLevel >= 1) {
        String debugMsg = ee.toString();
        try {
          if (ee instanceof NotesException) {
            NotesException ne = (NotesException) ee;
            debugMsg = "Notes error " + ne.id + ": " + ne.text;
          }
        } catch (Exception e2) {
        }
        debugOut.println("OpenLogItem error: " + debugMsg);
View Full Code Here

TOP

Related Classes of lotus.domino.NotesException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.