1 30 package com.genimen.djeneric.repository.exceptions; 31 32 import com.genimen.djeneric.repository.DjObject; 33 34 public class PropertyFormatException extends PersistenceException 35 { 36 private static final long serialVersionUID = 3690757314973874231L; 37 String _propertyConcerned; 38 39 public PropertyFormatException(String s, DjObject objectConcerned, String propertyConcerned) 40 { 41 super(s, objectConcerned); 42 _propertyConcerned = propertyConcerned; 43 } 44 45 public String getPropertyConcerned() 46 { 47 return _propertyConcerned; 48 } 49 50 public String getMessage() 51 { 52 return super.getMessage() + ": " + _propertyConcerned; 53 } 54 55 } | Popular Tags |