Package net.sourceforge.cardme.vcard.exceptions

Examples of net.sourceforge.cardme.vcard.exceptions.VCardParseException


     
      classType.setSecurityClass(VCardUtils.unescapeString(value));
      vcard.setSecurityClass(classType);
    }
    catch(Exception ex) {
      throw new VCardParseException("ClassType ("+VCardTypeName.CLASS.getType()+") ["+ex.getClass().getName()+"] "+ex.getMessage(), ex);
    }
  }
View Full Code Here


      }
     
      vcard.addKey(keyType);
    }
    catch(Exception ex) {
      throw new VCardParseException("KeyType ("+VCardTypeName.KEY.getType()+") ["+ex.getClass().getName()+"] "+ex.getMessage(), ex);
    }
  }
View Full Code Here

      extendedType.setExtendedValue(VCardUtils.unescapeString(value));
     
      vcard.addExtendedType(extendedType);
    }
    catch(Exception ex) {
      throw new VCardParseException("ExtendedType ("+VCardTypeName.XTENDED.getType()+") ["+ex.getClass().getName()+"] "+ex.getMessage(), ex);
    }
  }
View Full Code Here

     
      nameType.setName(VCardUtils.unescapeString(value));
      vcard.setName(nameType);
    }
    catch(Exception ex) {
      throw new VCardParseException("NameType ("+VCardTypeName.NAME.getType()+") ["+ex.getClass().getName()+"] "+ex.getMessage(), ex);
    }
  }
View Full Code Here

     
      profileType.setProfile(VCardUtils.unescapeString(value));
      vcard.setProfile(profileType);
    }
    catch(Exception ex) {
      throw new VCardParseException("ProfileType ("+VCardTypeName.PROFILE.getType()+") ["+ex.getClass().getName()+"] "+ex.getMessage(), ex);
    }
  }
View Full Code Here

     
      sourceType.setSource(VCardUtils.unescapeString(value));
      vcard.setSource(sourceType);
    }
    catch(Exception ex) {
      throw new VCardParseException("SourceType ("+VCardTypeName.SOURCE.getType()+") ["+ex.getClass().getName()+"] "+ex.getMessage(), ex);
    }
  }
View Full Code Here

     
      if(EncodingType.EIGHT_BIT.equals(imppType.getEncodingType())) {
        imppType.setUri(new URI(value));
      }
      else {
        throw new VCardParseException("IMPP's encoding must be 8bit.");
      }
     
      if(group != null) {
        imppType.setGroup(group);
      }
     
      vcard.addImpp(imppType);
    }
    catch(Exception ex) {
      throw new VCardParseException("ImppType ("+VCardTypeName.IMPP.getType()+") ["+ex.getClass().getName()+"] "+ex.getMessage(), ex);
    }
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.cardme.vcard.exceptions.VCardParseException

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.