Class ModulesService.ModuleCannotBeImportedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.nomagic.magicdraw.core.modules.ModulesService.ModuleCannotBeImportedException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ModulesService
private static class ModulesService.ModuleCannotBeImportedException extends java.lang.Exception
Exception that is thrown when module import fails due to a specific reason
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModulesService.ModuleCannotBeImportedException.Reason
-
Field Summary
Fields Modifier and Type Field Description private ModulesService.ModuleCannotBeImportedException.Reason
reason
private static java.lang.String
RESOURCE_KEY_BASE
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ModuleCannotBeImportedException(IAttachedProject module, ModulesService.ModuleCannotBeImportedException.Reason reason)
Creates new instance ofModulesService.ModuleCannotBeImportedException
and initializes it with given parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLocalizedMessage()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
RESOURCE_KEY_BASE
private static final java.lang.String RESOURCE_KEY_BASE
-
reason
private final ModulesService.ModuleCannotBeImportedException.Reason reason
-
-
Constructor Detail
-
ModuleCannotBeImportedException
public ModuleCannotBeImportedException(IAttachedProject module, ModulesService.ModuleCannotBeImportedException.Reason reason)
Creates new instance ofModulesService.ModuleCannotBeImportedException
and initializes it with given parameters- Parameters:
module
- the module that cannot be importedreason
- the reason
-
-