|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ezvcard.VCardException
ezvcard.io.EmbeddedVCardException
public class EmbeddedVCardException
Thrown during the marshalling/unmarshalling of a property to signal to the marshaller that the property's value is a nested (2.1 style) or embedded (3.0 style) vCard.
Nested Class Summary | |
---|---|
static interface |
EmbeddedVCardException.InjectionCallback
Injects an unmarshalled vCard into the property object. |
Constructor Summary | |
---|---|
EmbeddedVCardException(EmbeddedVCardException.InjectionCallback callback)
Thrown to unmarshal a nested or embedded vCard. |
|
EmbeddedVCardException(VCard vcard)
Thrown to marshal a nested or embedded vCard. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedVCardException(EmbeddedVCardException.InjectionCallback callback)
callback
- injects the unmarshalled vCard into the property objectpublic EmbeddedVCardException(VCard vcard)
vcard
- the vCard to marshalMethod Detail |
---|
public VCard getVCard()
public void injectVCard(VCard vcard)
vcard
- the vCard to injectpublic VCardProperty getProperty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |