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.ExceptionException that is thrown when module import fails due to a specific reason
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModulesService.ModuleCannotBeImportedException.Reason
-
Field Summary
Fields Modifier and Type Field Description private ModulesService.ModuleCannotBeImportedException.Reasonreasonprivate static java.lang.StringRESOURCE_KEY_BASEprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ModuleCannotBeImportedException(IAttachedProject module, ModulesService.ModuleCannotBeImportedException.Reason reason)Creates new instance ofModulesService.ModuleCannotBeImportedExceptionand initializes it with given parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLocalizedMessage()
-
-
-
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.ModuleCannotBeImportedExceptionand initializes it with given parameters- Parameters:
module- the module that cannot be importedreason- the reason
-
-