package org.dbxml.core.corba.db;
/**
 *	Generated from IDL definition of exception "APIException"
 *	@author JacORB IDL compiler 
 */

public final class APIException
	extends org.omg.CORBA.UserException
{
	public APIException()
	{
		super(org.dbxml.core.corba.db.APIExceptionHelper.id());
	}

	public int faultCode;
	public java.lang.String faultMessage = "";
	public java.lang.String exceptionMessage = "";
	public APIException(java.lang.String _reason,int faultCode, java.lang.String faultMessage, java.lang.String exceptionMessage)
	{
		super(org.dbxml.core.corba.db.APIExceptionHelper.id()+""+_reason );
		this.faultCode = faultCode;
		this.faultMessage = faultMessage;
		this.exceptionMessage = exceptionMessage;
	}
	public APIException(int faultCode, java.lang.String faultMessage, java.lang.String exceptionMessage)
	{
		this.faultCode = faultCode;
		this.faultMessage = faultMessage;
		this.exceptionMessage = exceptionMessage;
	}
}
