|
||||||||||
| 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
public class ServiceResultException
Generic Exception
StatusCodes,
Serialized Form| Field Summary | |
|---|---|
protected StatusCode |
statusCode
|
protected String |
text
|
| Constructor Summary | |
|---|---|
ServiceResultException(int statusCode)
Constructor for ServiceResultException. |
|
ServiceResultException(int statusCode,
String text)
Constructor for ServiceResultException. |
|
ServiceResultException(StatusCode statusCode)
Constructor for ServiceResultException. |
|
ServiceResultException(StatusCode statusCode,
String text)
Constructor for ServiceResultException. |
|
ServiceResultException(StatusCode statusCode,
Throwable reason)
Constructor for ServiceResultException. |
|
ServiceResultException(StatusCode statusCode,
Throwable reason,
String text)
Constructor for ServiceResultException. |
|
ServiceResultException(String message)
Constructor for ServiceResultException. |
|
ServiceResultException(Throwable reason)
Constructor for ServiceResultException. |
|
ServiceResultException(UnsignedInteger statusCode)
Constructor for ServiceResultException. |
|
ServiceResultException(UnsignedInteger statusCode,
String text)
Constructor for ServiceResultException. |
|
ServiceResultException(UnsignedInteger statusCode,
Throwable reason)
Constructor for ServiceResultException. |
|
ServiceResultException(UnsignedInteger statusCode,
Throwable reason,
String text)
Constructor for ServiceResultException. |
|
| Method Summary | |
|---|---|
String |
getAdditionalTextField()
getAdditionalTextField. |
String |
getMessage()
|
StatusCode |
getStatusCode()
Getter for the field statusCode. |
ServiceResult |
toServiceResult()
Converts the error into a service result |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final StatusCode statusCode
protected final String text
| Constructor Detail |
|---|
public ServiceResultException(String message)
Constructor for ServiceResultException.
message - a String object.public ServiceResultException(int statusCode)
Constructor for ServiceResultException.
statusCode - a int.
public ServiceResultException(int statusCode,
String text)
Constructor for ServiceResultException.
statusCode - a int.text - a String object.public ServiceResultException(UnsignedInteger statusCode)
Constructor for ServiceResultException.
statusCode - a UnsignedInteger object.
public ServiceResultException(UnsignedInteger statusCode,
String text)
Constructor for ServiceResultException.
statusCode - a UnsignedInteger object.text - a String object.
public ServiceResultException(UnsignedInteger statusCode,
Throwable reason,
String text)
Constructor for ServiceResultException.
statusCode - a UnsignedInteger object.reason - a Throwable object.text - a String object.public ServiceResultException(StatusCode statusCode)
Constructor for ServiceResultException.
statusCode - a StatusCode object.
public ServiceResultException(StatusCode statusCode,
String text)
Constructor for ServiceResultException.
statusCode - a StatusCode object.text - a String object.
public ServiceResultException(StatusCode statusCode,
Throwable reason,
String text)
Constructor for ServiceResultException.
statusCode - a StatusCode object.reason - a Throwable object.text - a String object.
public ServiceResultException(UnsignedInteger statusCode,
Throwable reason)
Constructor for ServiceResultException.
statusCode - a UnsignedInteger object.reason - a Throwable object.
public ServiceResultException(StatusCode statusCode,
Throwable reason)
Constructor for ServiceResultException.
statusCode - a StatusCode object.reason - a Throwable object.public ServiceResultException(Throwable reason)
Constructor for ServiceResultException.
reason - a Throwable object.| Method Detail |
|---|
public String getMessage()
getMessage in class Throwablepublic StatusCode getStatusCode()
Getter for the field statusCode.
StatusCode object.public String getAdditionalTextField()
getAdditionalTextField.
String object.public ServiceResult toServiceResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||