Class Exceptions
- java.lang.Object
-
- org.glassfish.tyrus.client.exception.Exceptions
-
public class Exceptions extends java.lang.Object
Converts the exceptions into more specific ones.
-
-
Constructor Summary
Constructors Constructor Description Exceptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeploymentException
deploymentException(java.lang.String message, java.lang.Throwable cause)
Get the Deployment Exception, or return the exception if of the type.
-
-
-
Method Detail
-
deploymentException
public static DeploymentException deploymentException(java.lang.String message, java.lang.Throwable cause)
Get the Deployment Exception, or return the exception if of the type.- Parameters:
message
- The Exception messagecause
- The Cause Exception- Returns:
- a Deployment exception.
-
-