1 package com.atlassian.plugin.descriptors;
2
3 import com.atlassian.plugin.Plugin;
4 import com.atlassian.plugin.PluginParseException;
5
6 /**
7 * Instances of this class represent a module which <i>could not be loaded</i>, not a module
8 * which <i>can be unloaded</i>.
9 */
10 public final class UnloadableModuleDescriptor extends AbstractNoOpModuleDescriptor<Void> {
11
12 @Override
13 protected void loadClass(Plugin plugin, String clazz) throws PluginParseException {
14 // don't try to load the class -- we are possibly here because it doesn't exist
15 }
16 }