svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / resource / exception / ResourceNotRegisteredException.java @ 40435
History | View | Annotate | Download (618 Bytes)
1 | 40435 | jjdelcerro | package org.gvsig.fmap.dal.resource.exception; |
---|---|---|---|
2 | |||
3 | import org.gvsig.fmap.dal.exception.InitializeException; |
||
4 | |||
5 | public class ResourceNotRegisteredException extends InitializeException { |
||
6 | |||
7 | /**
|
||
8 | *
|
||
9 | */
|
||
10 | private static final long serialVersionUID = -3783563399272946137L; |
||
11 | private final static String MESSAGE_FORMAT = "The '%(resourceType)' resource type is not registered."; |
||
12 | private final static String MESSAGE_KEY = "_ResourceNotRegisteredException"; |
||
13 | |||
14 | public ResourceNotRegisteredException(String resourceType) { |
||
15 | super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
|
||
16 | this.values.put("resourceType", resourceType); |
||
17 | } |
||
18 | } |