Class NetconfRpcException

  • All Implemented Interfaces:
    java.io.Serializable

    @Beta
    public class NetconfRpcException
    extends java.lang.RuntimeException
    Represents class of errors related to NETCONF rpc messaging.
    See Also:
    Serialized Form
    • Constructor Detail

      • NetconfRpcException

        public NetconfRpcException​(java.util.List<NetconfRpcError> errors)
        Parameters:
        errors - RPC error message body
      • NetconfRpcException

        public NetconfRpcException​(java.util.List<NetconfRpcError> errors,
                                   java.lang.String message)
        Parameters:
        errors - RPC error message body
        message - describing the error
      • NetconfRpcException

        public NetconfRpcException​(java.util.List<NetconfRpcError> errors,
                                   java.lang.Throwable cause)
        Parameters:
        errors - RPC error message body
        cause - of this exception
      • NetconfRpcException

        public NetconfRpcException​(java.util.List<NetconfRpcError> errors,
                                   java.lang.String message,
                                   java.lang.Throwable cause)
        Parameters:
        errors - RPC error message body
        message - describing the error
        cause - of this exception
    • Method Detail

      • rpcErrors

        public java.util.List<NetconfRpcError> rpcErrors()
        Retrieves rpc-error details.
        Returns:
        the rpc-errors
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable