1 29 30 package javax.xml.bind; 31 32 public class FactoryConfigurationError extends Error { 33 34 private Exception _exception; 35 private String _message; 36 37 public FactoryConfigurationError() 38 { 39 _exception = null; 40 _message = null; 41 } 42 43 44 public FactoryConfigurationError(Exception e) 45 { 46 _exception = e; 47 _message = null; 48 } 49 50 51 public FactoryConfigurationError(Exception e, String msg) 52 { 53 _exception = e; 54 _message = msg; 55 } 56 57 58 public FactoryConfigurationError(String msg) 59 { 60 _exception = null; 61 _message = msg; 62 } 63 64 65 public FactoryConfigurationError(String msg, Exception e) 66 { 67 _exception = e; 68 _message = msg; 69 } 70 71 public Exception getException() 72 { 73 return _exception; 74 } 75 76 public String getMessage() 77 { 78 return _message; 79 } 80 81 } 82 83 | Popular Tags |