Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
92a1757f
Kaydet (Commit)
92a1757f
authored
Mar 20, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Improve error reporting
üst
092d6d9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
19 deletions
+15
-19
JavaLoader.java
jurt/com/sun/star/comp/loader/JavaLoader.java
+15
-19
No files found.
jurt/com/sun/star/comp/loader/JavaLoader.java
Dosyayı görüntüle @
92a1757f
...
...
@@ -277,39 +277,35 @@ public class JavaLoader implements XImplementationLoader,
// Normally a string must no be null.
try
{
if
(
locationUrl
!=
null
)
{
// 1.
clazz
=
RegistrationClassFinder
.
find
(
locationUrl
);
}
else
{
// 2.
if
(
clazz
==
null
)
{
throw
new
CannotActivateFactoryException
(
"Cannot activate jar "
+
locationUrl
);
}
}
else
{
clazz
=
Class
.
forName
(
implementationName
);
if
(
clazz
==
null
)
{
throw
new
CannotActivateFactoryException
(
"Cannot find class "
+
implementationName
);
}
}
}
catch
(
java
.
net
.
MalformedURLException
e
)
{
CannotActivateFactoryException
cae
=
new
CannotActivateFactoryException
(
"Can not activate factory because "
+
e
.
toString
()
);
cae
.
fillInStackTrace
(
);
"Can not activate factory because "
+
e
);
cae
.
initCause
(
e
);
throw
cae
;
}
catch
(
java
.
io
.
IOException
e
)
{
CannotActivateFactoryException
cae
=
new
CannotActivateFactoryException
(
"Can not activate factory because "
+
e
.
toString
()
);
cae
.
fillInStackTrace
(
);
"Can not activate factory because "
+
e
);
cae
.
initCause
(
e
);
throw
cae
;
}
catch
(
java
.
lang
.
ClassNotFoundException
e
)
{
CannotActivateFactoryException
cae
=
new
CannotActivateFactoryException
(
"Can not activate factory because "
+
e
.
toString
()
);
cae
.
fillInStackTrace
();
throw
cae
;
}
if
(
null
==
clazz
)
{
CannotActivateFactoryException
cae
=
new
CannotActivateFactoryException
(
"Cannot determine activation class!"
);
cae
.
fillInStackTrace
();
"Can not activate factory because "
+
e
);
cae
.
initCause
(
e
);
throw
cae
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment