1 36 package org.ungoverned.moduleloader.search; 37 38 import org.ungoverned.moduleloader.Module; 39 40 49 public class ValidationException extends Exception 50 { 51 private Module m_module = null; 52 private Object m_identifier = null; 53 private Object m_version = null; 54 private boolean m_isPropagation = false; 55 56 60 public ValidationException(String msg, Module module, 61 Object identifier, Object version, boolean isPropagation) 62 { 63 super(msg); 64 m_module = module; 65 m_identifier = identifier; 66 m_version = version; 67 m_isPropagation = isPropagation; 68 } 69 70 74 public Module getModule() 75 { 76 return m_module; 77 } 78 79 83 public Object getIdentifier() 84 { 85 return m_identifier; 86 } 87 88 92 public Object getVersion() 93 { 94 return m_version; 95 } 96 97 103 public boolean isPropagationError() 104 { 105 return m_isPropagation; 106 } 107 } | Popular Tags |