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.Address address,
InstanceId instanceId1,
InstanceId instanceId2) |
InvalidInstanceException(InvalidInstanceException.Reason reason,
ServiceInfo.ServiceInfoType serviceInfoType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String data)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.util.List<InvalidInstanceException> |
getChildren() |
InstanceId |
getInstanceId1() |
InstanceId |
getInstanceId2() |
java.lang.String |
getMessage() |
InvalidInstanceException.Reason |
getReason() |
ServiceInfo.ServiceInfoType |
getServiceInfoType() |
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.
|
getOperandReferencepublic 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, InstanceId instanceId1, InstanceId instanceId2)
public InvalidInstanceException(InvalidInstanceException.Reason reason, ServiceInfo.Address address)
public InvalidInstanceException(InvalidInstanceException.Reason reason)
public java.util.List<InvalidInstanceException> getChildren()
public InvalidInstanceException.Reason getReason()
public InstanceId getInstanceId1()
public InstanceId getInstanceId2()
public ServiceInfo.ServiceInfoType getServiceInfoType()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic void addCharacterData(java.lang.String data)
XMLMarshallabledata - The character data to be addedpublic void addChild(java.lang.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