Revision 814 org.gvsig.proj/branches/refactor2018/org.gvsig.proj/org.gvsig.proj.catalog/org.gvsig.proj.catalog.api/src/main/java/org/gvsig/proj/catalog/exception/CoordinateReferenceSystemNotFoundException.java

View differences:

CoordinateReferenceSystemNotFoundException.java
36 36
    private static final long serialVersionUID = -4051458353306878010L;
37 37

  
38 38
    private static final String MESSAGE =
39
        "The projection with Authority: %(authority) "
40
            + "and Code: %(code) is not available";
39
        "The projection with Code: %(code) is not available";
41 40

  
42 41
    private static final String KEY = "_ProjectionNotFoundException";
43 42

  
......
47 46
     * @param cause
48 47
     *            the original cause
49 48
     */
50
    public CoordinateReferenceSystemNotFoundException(String authority,
51
        String code) {
49
    public CoordinateReferenceSystemNotFoundException(String code) {
52 50
        super(MESSAGE, KEY, serialVersionUID);
53
        setValue("authority", authority);
54 51
        setValue("code", code);
55 52
    }
56 53

  
......
60 57
     * @param cause
61 58
     *            the original cause
62 59
     */
63
    public CoordinateReferenceSystemNotFoundException(String authority,
64
        String code, Throwable cause) {
60
    public CoordinateReferenceSystemNotFoundException(String code, Throwable cause) {
65 61
        super(MESSAGE, cause, KEY, serialVersionUID);
66
        setValue("authority", authority);
67 62
        setValue("code", code);
68 63
    }
69 64
}

Also available in: Unified diff