|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.ohf.ihe.xds.source.SourceException
public class SourceException
Exception class for XDS Source Actor implementation
| Field Summary | |
|---|---|
static int |
AUDIT_ERROR
The IHE XDS Auditor Service returned an error. |
static int |
DOCUMENT_ENTRY_MISSING_PATIENT_ID
A document in the submission is missing a PatientID entry in its metadata. |
static int |
MESSAGING_ERROR
The SOAP message to the Repository returned a SOAP error. |
static int |
REGISTRY_REJECTED_METADATA
Documents stored to repository successfully but an error occurred in storing the metadata to the registry Trigger Event output error from IHE XDS Provide and Register Document Set transaction. |
static int |
REGISTRY_RESPONSE_USED_UNKNOWN_NAMESPACE
The namespace referenced by the ebXML response from the registry was not recognized. |
static int |
REPOSITORY_REJECTED_DOCUMENTS
Documents were not successfully stored to the repository Trigger Event output error from IHE XDS Provide and Register Document Set transaction. |
static int |
REPOSITORY_RESPONSE_NOT_UNDERSTOOD
The response message from the Repository could not be interpreted. |
static int |
REPOSITORY_UNAVAILABLE
The Respository response indicated it was unavailble. |
static int |
TERMINOLOGY_SERVICE_ERROR
The Terminology Service returned an error. |
static int |
XDS_REPOSITORY_UNDEFINED
The URL to the XDS Repository has not been defined. |
| Constructor Summary | |
|---|---|
SourceException(int reason)
Create a new exception |
|
SourceException(int reason,
java.lang.String message)
Create a new exception |
|
SourceException(int reason,
java.lang.String message,
java.lang.Throwable cause)
|
|
| Method Summary | |
|---|---|
int |
getReason()
Get the reason code for the 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int REGISTRY_REJECTED_METADATA
public static final int REPOSITORY_REJECTED_DOCUMENTS
public static final int XDS_REPOSITORY_UNDEFINED
public static final int REPOSITORY_RESPONSE_NOT_UNDERSTOOD
public static final int REPOSITORY_UNAVAILABLE
public static final int REGISTRY_RESPONSE_USED_UNKNOWN_NAMESPACE
public static final int MESSAGING_ERROR
public static final int TERMINOLOGY_SERVICE_ERROR
public static final int AUDIT_ERROR
public static final int DOCUMENT_ENTRY_MISSING_PATIENT_ID
| Constructor Detail |
|---|
public SourceException(int reason)
reason - Reason code for the exception, one of the int reason
constants: REGISTRY_REJECTED_METADATA, REPOSITORY_REJECTED_DOCUMENTS
public SourceException(int reason,
java.lang.String message)
reason - Reason code for the exception, one of the int reason
constants: REGISTRY_REJECTED_METADATA, REPOSITORY_REJECTED_DOCUMENTSmessage - String indicating the reason for the exception
public SourceException(int reason,
java.lang.String message,
java.lang.Throwable cause)
reason - Reason code for the exception, one of the int reason
constants: REGISTRY_REJECTED_METADATA, REPOSITORY_REJECTED_DOCUMENTSmessage - String indicating the reason for the exceptioncause - Throwable exception which caused the exception| Method Detail |
|---|
public int getReason()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||