Class Exceptions

java.lang.Object
org.glassfish.tyrus.client.exception.Exceptions

public class Exceptions extends Object
Converts the exceptions into more specific ones.
  • Constructor Details

    • Exceptions

      public Exceptions()
  • Method Details

    • deploymentException

      public static DeploymentException deploymentException(String message, Throwable cause)
      Get the Deployment Exception, or return the exception if of the type.
      Parameters:
      message - The Exception message
      cause - The Cause Exception
      Returns:
      a Deployment exception.