Class ExceptionUtil


  • public final class ExceptionUtil
    extends java.lang.Object
    Utility class with methods to handle exceptions.
    • Method Detail

      • convertAuthenticationException

        public static AuthenticationException convertAuthenticationException​(com.saperion.exception.SaAuthenticationException orig)
        Converts an SaAuthenticationException to an AuthenticationException.
        Parameters:
        orig - classic connector exception
        Returns:
        NGC exception
      • convertAuthenticationException

        public static AuthenticationException convertAuthenticationException​(com.saperion.jcs.modules.users.connector.exception.AuthenticationException orig)
        Converts an SaAuthenticationException to an AuthenticationException.
        Parameters:
        orig - classic connector exception
        Returns:
        NGC exception