|
||||||||||
| 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.opcfoundation.ua.common.ServiceResultException
org.opcfoundation.ua.common.ServiceFaultException
public class ServiceFaultException
ServiceFaultException is an error that occurs in execution an operation.
It wraps ServiceFault into an exception.
| Field Summary |
|---|
| Fields inherited from class org.opcfoundation.ua.common.ServiceResultException |
|---|
statusCode, text |
| Constructor Summary | |
|---|---|
ServiceFaultException(ServiceFault serviceFault)
Constructor for ServiceFaultException. |
|
ServiceFaultException(Throwable t)
Constructor for ServiceFaultException. |
|
| Method Summary | |
|---|---|
String |
getMessage()
|
ServiceFault |
getServiceFault()
Getter for the field serviceFault. |
StatusCode |
getStatusCode()
getStatusCode. |
String |
toString()
|
| Methods inherited from class org.opcfoundation.ua.common.ServiceResultException |
|---|
getAdditionalTextField, toServiceResult |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceFaultException(Throwable t)
Constructor for ServiceFaultException.
t - a Throwable object.public ServiceFaultException(ServiceFault serviceFault)
Constructor for ServiceFaultException.
serviceFault - a ServiceFault object.| Method Detail |
|---|
public ServiceFault getServiceFault()
Getter for the field serviceFault.
ServiceFault object.public String toString()
toString in class Throwablepublic String getMessage()
getMessage in class ServiceResultExceptionpublic StatusCode getStatusCode()
getStatusCode.
getStatusCode in class ServiceResultExceptionStatusCode object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||