Change error message which for RuntimeException when no runtime is found.

This commit is contained in:
Tomas O'Connor
2003-02-06 17:21:30 +00:00
parent 9279facce2
commit 18da28a7f3

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: ScriptRuntimeManager.cxx,v $ * $RCSfile: ScriptRuntimeManager.cxx,v $
* *
* $Revision: 1.11 $ * $Revision: 1.12 $
* *
* last change: $Author: toconnor $ $Date: 2003-01-29 12:58:11 $ * last change: $Author: toconnor $ $Date: 2003-02-06 18:21:30 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -144,7 +144,7 @@ throw( RuntimeException )
if ( sal_False == ( a >>= xInterface ) ) if ( sal_False == ( a >>= xInterface ) )
{ {
throw RuntimeException( throw RuntimeException(
OUSTR( "ScriptRuntimeManager::GetScriptRuntime: could not obtain ScriptRuntimeForJava singleton" ), sinfo->getLanguage().concat( OUSTR( " runtime support is not installed for this language" ) ),
Reference< XInterface >() ); Reference< XInterface >() );
} }
validateXRef( xInterface, validateXRef( xInterface,