root / trunk / libraries / libGDBMS / src / main / java / com / hardcode / gdbms / driver / exceptions / UnsupportedVersionDriverException.java @ 10627
History | View | Annotate | Download (580 Bytes)
1 |
package com.hardcode.gdbms.driver.exceptions; |
---|---|
2 |
|
3 |
|
4 |
public class UnsupportedVersionDriverException extends OpenDriverException { |
5 |
private String description=""; |
6 |
public UnsupportedVersionDriverException(String l,Throwable exception,String description) { |
7 |
super(l,exception);
|
8 |
this.description=description;
|
9 |
init(); |
10 |
} |
11 |
public UnsupportedVersionDriverException(String l,Throwable exception) { |
12 |
super(l,exception);
|
13 |
init(); |
14 |
} |
15 |
/**
|
16 |
*
|
17 |
*/
|
18 |
private void init() { |
19 |
messageKey = "error_version_driver";
|
20 |
formatString = "Can?t open file driver: %(driver) "+"\n"+description; |
21 |
} |
22 |
|
23 |
} |