Package com.db4o.foundation

Examples of com.db4o.foundation.ArgumentNullException


  /**
   * Returns an {@link EventRegistry} for registering events with the specified container.
   */
  public static EventRegistry forObjectContainer(ObjectContainer container) {
    if (null == container) {
      throw new ArgumentNullException("container");
    }
   
    ObjectContainerBase stream = ((ObjectContainerBase)container);
    Callbacks callbacks = stream.callbacks();
    if (callbacks instanceof EventRegistry) {
View Full Code Here


   
    private final boolean _foundMatch;
   
    BTreeNodeSearchResult(Transaction transaction, BTree btree, BTreePointer pointer, boolean foundMatch) {
      if (null == transaction || null == btree) {
        throw new ArgumentNullException();
      }
      _transaction = transaction;
      _btree = btree;
        _pointer = pointer;
        _foundMatch = foundMatch;
View Full Code Here

     * at runtime. One single '*' is allowed as a wildcard
     * character.
   */
    public WildcardAlias(String storedPattern, String runtimePattern) {
       
    if (null == storedPattern) throw new ArgumentNullException("storedPattern");
    if (null == runtimePattern) throw new ArgumentNullException("runtimePattern");
   
    _storedPattern = new WildcardPattern(storedPattern);
    _runtimePattern = new WildcardPattern(runtimePattern);
    }
View Full Code Here

TOP

Related Classes of com.db4o.foundation.ArgumentNullException

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.