root / branches / v2_0_0_prep / libraries / libFMap_data / src / org / gvsig / fmap / data / exceptions / ProviderNotRegisteredException.java @ 24393
History | View | Annotate | Download (519 Bytes)
1 | 23774 | jjdelcerro | package org.gvsig.fmap.data.exceptions; |
---|---|---|---|
2 | |||
3 | 23945 | jiyarza | public class ProviderNotRegisteredException extends DataException { |
4 | 23774 | jjdelcerro | /**
|
5 | *
|
||
6 | */
|
||
7 | private static final long serialVersionUID = 4873697202452898968L; |
||
8 | 23945 | jiyarza | private final static String MESSAGE_FORMAT = "'%(providerName)s not registered'."; |
9 | private final static String MESSAGE_KEY = "_ProviderNotRegisteredException"; |
||
10 | 23774 | jjdelcerro | |
11 | 23945 | jiyarza | public ProviderNotRegisteredException(String providerName) { |
12 | 23774 | jjdelcerro | super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
|
13 | 23945 | jiyarza | setValue("providerName", providerName);
|
14 | 23774 | jjdelcerro | } |
15 | } |