Class AMPostCallBackException

  • All Implemented Interfaces:
    L10NMessage, Serializable

    public class AMPostCallBackException
    extends AMException
    Deprecated.
    As of Sun Java System Access Manager 7.1.
    AMPostCallBackException is a subclass of AMException which is used by all implementations of AMCallback. This exception should be thrown by the callback plugins in the post callback methods called by SDK. This helps distinguish a post-callback exception from normal SDK exceptions and can be handled differently by any applications using the SDK, if they wish to.
    See Also:
    Serialized Form
    • Constructor Detail

      • AMPostCallBackException

        public AMPostCallBackException​(String msg,
                                       String errorCode)
        Deprecated.
        Constructs a new AMPostCallBackException with detailed message.
        Parameters:
        msg - The detailed message.
        errorCode - Matches the appropriate entry in amProfile.properties.
      • AMPostCallBackException

        public AMPostCallBackException​(SSOToken token,
                                       String errorCode)
        Deprecated.
        Constructs a new AMPostCallBackException with detailed message.
        Parameters:
        token - A valid single sign on token of the user performing the operation.
        errorCode - error code.
      • AMPostCallBackException

        public AMPostCallBackException​(String msg,
                                       String errorCode,
                                       UMSException ue)
        Deprecated.
        Constructs a new AMPostCallBackException with detailed message.
        Parameters:
        msg - The detailed message.
        errorCode - Matches the appropriate entry in amProfile.properties.
        ue - if the root case is a UMSException
      • AMPostCallBackException

        public AMPostCallBackException​(SSOToken token,
                                       String errorCode,
                                       UMSException ue)
        Deprecated.
        Constructs a new AMPostCallBackException with detailed message.
        Parameters:
        token - a valid single sign on token of the user performing the operation.
        errorCode - Matches the appropriate entry in amProfile.properties.
        ue - if the root case is a UMSException
      • AMPostCallBackException

        public AMPostCallBackException​(String msg,
                                       String errorCode,
                                       Object[] args)
        Deprecated.
        Constructs a new AMPostCallBackException with detailed message.
        Parameters:
        msg - The detailed message.
        errorCode - Matches the appropriate entry in amProfile.properties.
        args - if the error message needs specific values to be set
      • AMPostCallBackException

        public AMPostCallBackException​(String msg,
                                       String errorCode,
                                       Object[] args,
                                       UMSException ue)
        Deprecated.
        Constructs a new AMPostCallBackException with detailed message.
        Parameters:
        msg - The detailed message.
        errorCode - Matches the appropriate entry in amProfile.properties.
        args - if the error message needs specific values to be set
        ue - if the root case is a UMSException