2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 2 of the License, or
5
* (at your option) any later version.
6
* This program is distributed in the hope that it will be useful,
7
* but WITHOUT ANY WARRANTY; without even the implied warranty of
8
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
* GNU General Public License for more details.
10
* You should have received a copy of the GNU General Public License
11
* along with this program; if not, write to the Free Software
12
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
package games.strategy.engine.message;
19
* No Remote could be found.<p>
21
* This can be thrown by the remote messenger in two cases,<p>
23
* 1) looking up a someRemoteMessenger.getRemote(...)<br>
24
* 2) invoking a method on the object returned by someRemoteMessenger.getRemote(...).<p>
26
* There are two possibel causes. Either the remote never existed, or a remote was once
27
* bound to that name, but is no longer bound.
29
* @author Sean Bridges
31
public class RemoteNotFoundException extends MessengerException
34
public RemoteNotFoundException(String string)
36
super(string, new IllegalStateException("remote not found"));