1 5 6 package javax.xml.bind; 7 8 9 10 21 public class PropertyException extends JAXBException { 22 23 29 public PropertyException(String message) { 30 super(message); 31 } 32 33 40 public PropertyException(String message, String errorCode) { 41 super(message, errorCode); 42 } 43 44 50 public PropertyException(Throwable exception) { 51 super(exception); 52 } 53 54 61 public PropertyException(String message, Throwable exception) { 62 super(message, exception); 63 } 64 65 73 public PropertyException( 74 String message, 75 String errorCode, 76 Throwable exception) { 77 super(message, errorCode, exception); 78 } 79 80 87 public PropertyException(String name, Object value) { 88 super( Messages.format( Messages.NAME_VALUE, 89 name, 90 value.toString() ) ); 91 } 92 93 94 } 95 | Popular Tags |