1 30 package com.genimen.djeneric.tools.specifier.exceptions; 31 32 import com.genimen.djeneric.tools.specifier.editor.DjenericObjectModel; 33 34 public class EditorValidationException extends Exception 35 { 36 private static final long serialVersionUID = 1L; 37 DjenericObjectModel _modelInError; 38 int _objectInErrorIndex; 39 40 public EditorValidationException(String msg, DjenericObjectModel modelInError, int objectInErrorIndex) 41 { 42 super(msg); 43 _modelInError = modelInError; 44 _objectInErrorIndex = objectInErrorIndex; 45 } 46 47 public DjenericObjectModel getModel() 48 { 49 return _modelInError; 50 } 51 52 public int getObjectIndex() 53 { 54 return _objectInErrorIndex; 55 } 56 57 } | Popular Tags |