Class RpcException

All Implemented Interfaces:
Serializable

public class RpcException extends InternalErrorException
See Also:
  • Constructor Details

    • RpcException

      public RpcException(RpcException.Type type, String errorInfo)
      Parameters:
      type - type of the error.
      errorInfo - additional error information.
    • RpcException

      public RpcException(RpcException.Type type)
      Parameters:
      type - type of the error.
    • RpcException

      public RpcException(RpcException.Type type, String errorInfo, Throwable cause)
      Parameters:
      type - type of the error.
      errorInfo - additional error information.
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).
    • RpcException

      public RpcException(RpcException.Type type, Throwable cause)
      Parameters:
      type - type of the error.
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).
    • RpcException

      public RpcException(String type, String errorInfo)
      Parameters:
      type - string representation of type of the error.
      errorInfo - additional error information.
  • Method Details

    • getErrorInfo

      public String getErrorInfo()
      Returns:
      additional error information or null if there is none.
    • getType

      public String getType()
      Overrides:
      getType in class PerunRuntimeException
      Returns:
      type of the error.