All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.ims.connect.ImsConnectApiException Maven / Gradle / Ivy

The newest version!
/*
 * File: IMSConnectApiException.java                                               
 * ==========================================================================
 * Licensed Material - Property of IBM
 *  
 * IBM Confidential
 * 
 * OCO Source Materials
 * 
 * 5655-TDA
 * 
 * (C) Copyright IBM Corp. 2011, 2013 All Rights Reserved. 
 * 
 * The source code for this program is not published or  
 * otherwise divested of its trade secrets, irrespective 
 * of what has been deposited with the U.S. Copyright 
 * Office.
 * 
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with
 * IBM Corp.
 * =========================================================================== 
 */
package com.ibm.ims.connect;

/**
 * This class represents the base exception used for interacting with IMS
 * Connect.
 */
public class ImsConnectApiException extends Exception
{
    /**
     * 
     */
    private static final long serialVersionUID = 6703648547596858935L;

    public static final String copyright =
        "Licensed Material - Property of IBM "
            + "5655-TDA"
            + "(C) Copyright IBM Corp. 2009, 2013  All Rights Reserved. "
            + "US Government Users Restricted Rights - Use, duplication or "
            + "disclosure restricted by GSA ADP Schedule Contract with IBM Corp. ";
            
    private String errorNumber = "HWS0000E";

    /**
     *  
     */
    public ImsConnectApiException()
    {
        super();
        // TODO Auto-generated constructor stub
    }

    /**
     * @param message
     */
/*    public ImsConnectApiException(String message)
    {
        super(message);
        // TODO Auto-generated constructor stub
    }
*/
    /**
     * @param message
     * @param cause
     */
/*    public ImsConnectApiException(String message, Throwable cause)
    {
        super(message, cause);
        // TODO Auto-generated constructor stub
    }
*/
    /**
     * @param cause
     */
/*    public ImsConnectApiException(Throwable cause)
    {
        super(cause);
        // TODO Auto-generated constructor stub
    }
*/
    /**
     * @param arg0
     */
    public ImsConnectApiException(String errNo, String errMsg)
    {
        super(errMsg);

        this.errorNumber = errNo;
    }

    public String getErrorNumber()
    {
        return this.errorNumber;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy