Improved: Remove unnecessary declared exceptions for ‘ContainerException’

(OFBIZ-10938)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857913 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mathieu Lirzin
2019-04-21 14:22:36 +00:00
parent 3b6782981f
commit 5982be8161
8 changed files with 15 additions and 15 deletions
@@ -83,7 +83,7 @@ public class ComponentContainer implements Container {
/**
* @see org.apache.ofbiz.base.container.Container#start()
*/
public boolean start() throws ContainerException {
public boolean start() {
return loaded.get();
}
@@ -92,9 +92,8 @@ public class ComponentContainer implements Container {
* and set the classloader as the context classloader
*
* @param componentsClassPath a list of classpaths for all components
* @throws ContainerException
*/
private void loadClassPathForAllComponents(List<Classpath> componentsClassPath) throws ContainerException {
private void loadClassPathForAllComponents(List<Classpath> componentsClassPath) {
List<URL> allComponentUrls = new ArrayList<>();
for(Classpath classPath : componentsClassPath) {
try {
@@ -365,7 +364,7 @@ public class ComponentContainer implements Container {
/**
* @see org.apache.ofbiz.base.container.Container#stop()
*/
public void stop() throws ContainerException {
public void stop() {
}
public String getName() {