com.prosysopc.ua
Class SessionActivationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.prosysopc.ua.UaException
              extended by com.prosysopc.ua.ServiceException
                  extended by com.prosysopc.ua.SessionActivationException
All Implemented Interfaces:
Serializable

public class SessionActivationException
extends ServiceException

An exception from a failure to activate a OPC UA session. The possible causes can be an invalid user identity token or unsupported token type.

See Also:
Serialized Form

Constructor Summary
SessionActivationException(String message, UserIdentity userIdentity, org.opcfoundation.ua.common.ServiceFaultException e)
           
SessionActivationException(String message, UserIdentity userIdentity, org.opcfoundation.ua.common.ServiceResultException e)
           
SessionActivationException(String message, UserIdentity userIdentity, org.opcfoundation.ua.builtintypes.StatusCode statusCode)
           
 
Method Summary
 UserIdentity getUserIdentity()
           
 
Methods inherited from class com.prosysopc.ua.ServiceException
getDiagnosticInfo, getServiceResult, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

SessionActivationException

public SessionActivationException(String message,
                                  UserIdentity userIdentity,
                                  org.opcfoundation.ua.common.ServiceFaultException e)
Parameters:
message - error message
userIdentity - the user identity used in the activation
e - the error exception, which is used to set the StatusCode

SessionActivationException

public SessionActivationException(String message,
                                  UserIdentity userIdentity,
                                  org.opcfoundation.ua.common.ServiceResultException e)
Parameters:
message - error message
userIdentity - the user identity used in the activation
e - the error exception, which is used to set the StatusCode

SessionActivationException

public SessionActivationException(String message,
                                  UserIdentity userIdentity,
                                  org.opcfoundation.ua.builtintypes.StatusCode statusCode)
Parameters:
message -
userIdentity -
statusCode -
Method Detail

getUserIdentity

public UserIdentity getUserIdentity()


Copyright © 2018. All rights reserved.