office-gobmx/udkapi/com/sun/star/java/JavaVMCreationFailureException.idl
Rüdiger Timm 0c73305204 INTEGRATION: CWS ooo19126 (1.8.16); FILE MERGED
2005/09/05 14:07:07 rt 1.8.16.1: #i54170# Change license header: remove SISSL
2005-09-09 14:38:18 +00:00

69 lines
2.6 KiB
Text

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: JavaVMCreationFailureException.idl,v $
*
* $Revision: 1.9 $
*
* last change: $Author: rt $ $Date: 2005-09-09 15:38:18 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************/
#ifndef __com_sun_star_java_JavaVMCreationFailureException_idl__
#define __com_sun_star_java_JavaVMCreationFailureException_idl__
#ifndef __com_sun_star_java_JavaInitializationException_idl__
#include <com/sun/star/java/JavaInitializationException.idl>
#endif
module com { module sun { module star { module java {
/** indicates that the Java Virtual Machine could not be created <p>
This exception can be thrown when the creation of the Java Virtual
Machine failed, even if the runtime library could be loaded.
Possible reasons for a failure are that JNI_CreateJavaVM returns
an error code that reflects a failure, JNI_CreateJavaVM does not
return because it tries to quit the process ( _exit), the shared
library is corrupted, so that the symbols for JNI_GetDefaultVMInitArgs
or JNI_CreateJavaVM cannot be found, etc.
@since OOo 1.1.2
*/
published exception JavaVMCreationFailureException: JavaInitializationException
{
/** contains an error code that reflects the returned error code of
JNI_CreateJavaVM or other errors. A negative value represents
the returned error code of JNI_CreateJavaVM. All other values
indicate a different cause.
*/
long ErrorCode;
};
}; }; }; };
#endif