java/sql-dk/src/info/globalcode/sql/dk/InvalidOptionsException.java
branchv_0
changeset 63 3b9ec9c23a37
parent 16 5b8fcd35d4d6
equal deleted inserted replaced
62:7a88ac6ba40c 63:3b9ec9c23a37
    42 	}
    42 	}
    43 
    43 
    44 	public static class OptionProblem {
    44 	public static class OptionProblem {
    45 
    45 
    46 		private String description;
    46 		private String description;
       
    47 		private Throwable exception;
    47 
    48 
    48 		public OptionProblem(String description) {
    49 		public OptionProblem(String description) {
    49 			this.description = description;
    50 			this.description = description;
    50 		}
    51 		}
    51 
    52 
       
    53 		public OptionProblem(String description, Throwable exception) {
       
    54 			this.description = description;
       
    55 			this.exception = exception;
       
    56 		}
       
    57 
    52 		public String getDescription() {
    58 		public String getDescription() {
    53 			return description;
    59 			return description;
    54 		}
    60 		}
       
    61 
       
    62 		public Throwable getException() {
       
    63 			return exception;
       
    64 		}
    55 	}
    65 	}
    56 }
    66 }