com.ibm.tivoli.maximo.report.cognos.metadata.exception

Class CognosTransformationException

  • All Implemented Interfaces:
    java.io.Serializable


    public class CognosTransformationException
    extends MXApplicationException
    This class is the exception class used in case any error occurs while transforming the maximo xml input to Cognos action log script.
    See Also:
    Serialized Form
    • Constructor Detail

      • CognosTransformationException

        public CognosTransformationException(java.lang.String errorKey,
                                             java.lang.Throwable throwable)
        This constructor creates an exception to wrap the original exception and log the message in the Cognos error messages group which is "iface" with the error message key for the message defined on Maximo server.
        Parameters:
        errorKey - the key for the message defined on Maximo server
        throwable - the original exception
      • CognosTransformationException

        public CognosTransformationException(java.lang.String errorKey)
        This constructor creates an exception to log the message in the Cognos error messages group which is "iface" with the error message key for the message defined on Maximo server.
        Parameters:
        errorKey - the key for the message defined on Maximo server
      • CognosTransformationException

        public CognosTransformationException(java.lang.String errorKey,
                                             java.lang.Object[] params)
        This constructor creates an exception to log the message in the Cognos error messages group which is "iface" with the error message key for the message defined on Maximo server.
        Also parameters are provided to be added to the message before displaying it to the user.
        Parameters:
        errorKey - the key for the message defined on Maximo server
        params - the parameters to be added to the message before displaying it to the user