Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Exceptions

        public Exceptions()
    • 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 message
        cause - The Cause Exception
        Returns:
        a Deployment exception.