Package plugins.Freetalk.exceptions

Examples of plugins.Freetalk.exceptions.NoSuchIdentityException


   
    if(result.params.get("Message").equals("Error")) {
      final String description = result.params.get("Description");
     
      if(description.indexOf("UnknownIdentityException") >= 0)
        throw new NoSuchIdentityException(description);
     
      throw new Exception("FCP message " + result.params.get("OriginalMessage") + " failed: " + description);
    }
   
    if(result.params.get("Message").equals(expectedReplyMessage) == false)
View Full Code Here


      case 1:
        WoTIdentity identity = result.next();
        identity.initializeTransient(mFreetalk);
        return identity;
      case 0:
        throw new NoSuchIdentityException(id);
      default:
        throw new DuplicateIdentityException(id);
    }
  }
View Full Code Here

      case 1:
        WoTOwnIdentity identity = result.next();
        identity.initializeTransient(mFreetalk);
        return identity;
      case 0:
        throw new NoSuchIdentityException(id);
      default:
        throw new DuplicateIdentityException(id);
    }
  }
View Full Code Here

    try {
      final WoTIdentity identity = mIdentityManager.getIdentity(identityID);
      final USKRetriever retriever = mRequests.get(identityID);
       
      if(retriever == null)
        throw new NoSuchIdentityException("updateEdtitionHint() called for an identity which is not being fetched: " + identityID);

      final long editionHint = mMessageManager.getNewMessageListIndexEditionHint(identity);
       
      if(logDEBUG) Logger.debug(this, "Updating edition hint to " + editionHint + " for " + identityID);
      updateEditionHint(retriever, editionHint);
View Full Code Here

  }
 
  public OwnIdentity getOwner() throws NoSuchIdentityException {
    checkedActivate(1);
    if(mOwner == null)
      throw new NoSuchIdentityException();
   
    if(mOwner instanceof Persistent)
      ((Persistent)mOwner).initializeTransient(mFreetalk);
   
    return mOwner;
View Full Code Here

TOP

Related Classes of plugins.Freetalk.exceptions.NoSuchIdentityException

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.