Adding java.rmi to android project

I am facing a problem in adding java.rmi jar to my android project.
Getting the following error,

  1. WARN/dalvikvm(224): Unable to resolve superclass of Lcom/teamcenter/schemas/soa/_2006_03/exceptions/InvalidCredentialsException; (2840)
  2. WARN/dalvikvm(224): Link of class 'Lcom/teamcenter/schemas/soa/_2006_03/exceptions/InvalidCredentialsException;' failed
  3. WARN/dalvikvm(224): VFY: unable to resolve exception class 572 (Lcom/teamcenter/schemas/soa/_2006_03/exceptions/InvalidCredentialsException;)
  4. WARN/dalvikvm(224): VFY: unable to find exception handler at addr 0x3b
  5. WARN/dalvikvm(224): VFY:  rejected Ltc8/soa/client/Session;.login ()Lcom/teamcenter/soa/client/model/strong/User;
  6. WARN/dalvikvm(224): VFY:  rejecting opcode 0x0d at 0x003b
  7. WARN/dalvikvm(224): VFY:  rejected Ltc8/soa/client/Session;.login ()Lcom/teamcenter/soa/client/model/strong/User;
  8. WARN/dalvikvm(224): Verifier rejected class Ltc8/soa/client/Session;