25 lines
426 B
Java
25 lines
426 B
Java
/*
|
|
* (c) 2009 Thomas Smits
|
|
*/
|
|
package pr2.ausnahmen.eigene;
|
|
|
|
public class ServerException extends Exception {
|
|
|
|
private int port;
|
|
private String host;
|
|
|
|
public ServerException(String message, String host, int port) {
|
|
super(message);
|
|
this.host = host;
|
|
this.port = port;
|
|
}
|
|
|
|
public int getPort() {
|
|
return port;
|
|
}
|
|
|
|
public String getHost() {
|
|
return host;
|
|
}
|
|
}
|