public class EmbeddedVCardException
extends java.lang.RuntimeException
Modifier and Type | Class and Description |
---|---|
static interface |
EmbeddedVCardException.InjectionCallback
Injects an unmarshalled vCard into the property object.
|
Constructor and Description |
---|
EmbeddedVCardException(EmbeddedVCardException.InjectionCallback callback)
Thrown to unmarshal a nested or embedded vCard.
|
EmbeddedVCardException(VCard vcard)
Thrown to marshal a nested or embedded vCard.
|
Modifier and Type | Method and Description |
---|---|
VCardProperty |
getProperty()
Gets the property object that threw the exception.
|
VCard |
getVCard()
Gets the vCard to marshal.
|
void |
injectVCard(VCard vcard)
Injects the unmarshalled vCard into the property object that threw this
exception.
|
public EmbeddedVCardException(EmbeddedVCardException.InjectionCallback callback)
callback
- injects the unmarshalled vCard into the property objectpublic EmbeddedVCardException(VCard vcard)
vcard
- the vCard to marshalpublic VCard getVCard()
public void injectVCard(VCard vcard)
vcard
- the vCard to injectpublic VCardProperty getProperty()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.