Package org.openntf.domino.exceptions

Examples of org.openntf.domino.exceptions.UndefinedDelegateTypeException


      return (T) lotus;
    }

    if (!(lotus instanceof NotesBase)) {
      // RPr: what do we if we don't get a wrappable object at all. This is a programming error, so throw exception
      throw new UndefinedDelegateTypeException("Cannot wrap " + lotus.getClass().getName());
    }

    // 1) These objects are not cached and returned immediately. Recycle is done inside
    if (lotus instanceof lotus.domino.Name           // These objects are encapsulated
        || lotus instanceof lotus.domino.DateRange     //
View Full Code Here


    if (lotus instanceof lotus.domino.Session) {
      Session result = new org.openntf.domino.impl.Session((lotus.domino.Session) lotus, (SessionHasNoParent) parent, this, cpp);
      setCurrentSession(result);
      return result;
    }
    throw new UndefinedDelegateTypeException(lotus == null ? "null" : lotus.getClass().getName());
    //    return null;
  }
View Full Code Here

TOP

Related Classes of org.openntf.domino.exceptions.UndefinedDelegateTypeException

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.