1 19 20 package org.netbeans.modules.j2ee.persistence.provider; 21 22 28 public class InvalidPersistenceXmlException extends Exception { 29 30 33 private final String path; 34 35 39 public InvalidPersistenceXmlException(String path) { 40 this.path = path; 41 } 42 43 48 public InvalidPersistenceXmlException(String message, String path) { 49 super(message); 50 this.path = path; 51 } 52 53 56 public String getPath(){ 57 return path; 58 } 59 60 public String toString(){ 61 return getClass().getName() + "[path: " + getPath() + "]"; 62 } 63 64 } | Popular Tags |