Class AMClientCapException

  • All Implemented Interfaces:
    L10NMessage, Serializable

    public class AMClientCapException
    extends Exception
    implements L10NMessage
    AMClientCapException: (critical) Thrown to indicate that the Attribute Abstraction layer could not establish a connection with the backend service provider (DSAME) OR the abstraction layer could not instantiate the actual implementation objects.
    See Also:
    Serialized Form
    • Constructor Detail

      • AMClientCapException

        public AMClientCapException​(String msg)
        Construct an exception with the specified msg
        Parameters:
        msg - message describing the error
      • AMClientCapException

        public AMClientCapException​(String rbName,
                                    String eCode,
                                    Object[] a)
        Construct an exception with the specified msg
        Parameters:
        rbName - is the Resource Bundle name
        eCode - is the Error Code
        a - is the message arguments array
    • Method Detail

      • getMessageArgs

        public Object[] getMessageArgs()
        Returns the message arguments array
        Specified by:
        getMessageArgs in interface L10NMessage
        Returns:
        an Array of message arguments.
      • getL10NMessage

        public String getL10NMessage​(Locale locale)
        Returns the localized message for a given locale
        Specified by:
        getL10NMessage in interface L10NMessage
        Parameters:
        locale - is the Locale
        Returns:
        a String which is the localized message