com.prosysopc.ua.client
Class ConnectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.prosysopc.ua.UaException
com.prosysopc.ua.ServiceException
com.prosysopc.ua.client.ConnectException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InvalidServerEndpointException
public class ConnectException
- extends ServiceException
Failure in connecting the UaClient to the UA Server.
- See Also:
- Serialized Form
|
Constructor Summary |
ConnectException(String message,
String uri,
org.opcfoundation.ua.transport.security.SecurityMode securityMode)
Create a new exception with a message text. |
ConnectException(String message,
String uri,
org.opcfoundation.ua.transport.security.SecurityMode securityMode,
org.opcfoundation.ua.common.ServiceResultException cause)
Create a new exception with a message text and reference to the original exception. |
uri
protected final String uri
ConnectException
public ConnectException(String message,
String uri,
org.opcfoundation.ua.transport.security.SecurityMode securityMode)
- Create a new exception with a message text.
- Parameters:
message - Exception messageuri - The URI to which the connection was tried.securityMode - The requested security mode
ConnectException
public ConnectException(String message,
String uri,
org.opcfoundation.ua.transport.security.SecurityMode securityMode,
org.opcfoundation.ua.common.ServiceResultException cause)
- Create a new exception with a message text and reference to the original exception.
- Parameters:
message - Exception messageuri - The URI to which the connection was tried.securityMode - The requested security modecause - The original service result exception.
formatMessage
protected static String formatMessage(String message,
String uri,
org.opcfoundation.ua.transport.security.SecurityMode securityMode)
getUri
public String getUri()
- Returns:
- the uri
Copyright © 2018. All rights reserved.