public class InvalidInstanceException extends OperationFailureException
The possible reasons are:
Address is already used
| Modifier and Type | Class and Description |
|---|---|
static class |
InvalidInstanceException.Reason
This
enumeration lists the possible reasons for the invalid instance exception. |
| Constructor and Description |
|---|
InvalidInstanceException() |
InvalidInstanceException(InvalidInstanceException.Reason reason) |
InvalidInstanceException(InvalidInstanceException.Reason reason,
InstanceId instanceId) |
InvalidInstanceException(InvalidInstanceException.Reason reason,
InstanceId instanceId,
ServiceInfo.ServiceInfoType serviceInfoType) |
InvalidInstanceException(InvalidInstanceException.Reason reason,
ServiceInfo.Address address) |
InvalidInstanceException(InvalidInstanceException.Reason reason,
ServiceInfo.ServiceInfoType serviceInfoType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String data)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
List<InvalidInstanceException> |
getChildren() |
String |
getMessage() |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
getOperandReferenceaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidInstanceException()
public InvalidInstanceException(InvalidInstanceException.Reason reason, ServiceInfo.ServiceInfoType serviceInfoType)
public InvalidInstanceException(InvalidInstanceException.Reason reason, InstanceId instanceId, ServiceInfo.ServiceInfoType serviceInfoType)
public InvalidInstanceException(InvalidInstanceException.Reason reason, InstanceId instanceId)
public InvalidInstanceException(InvalidInstanceException.Reason reason, ServiceInfo.Address address)
public InvalidInstanceException(InvalidInstanceException.Reason reason)
public List<InvalidInstanceException> getChildren()
public String getMessage()
getMessage in class Throwablepublic void addCharacterData(String data)
XMLMarshallabledata - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.tagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallableoutput - The XML output to marshal the object intopublic void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current element