org.jminor.common.server
Class ServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jminor.common.server.ServerException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ServerException.LoginException, ServerException.ServerFullException
public class ServerException
- extends Exception
An exception originating from a remote server
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serverFullException
public static ServerException.ServerFullException serverFullException()
- Returns:
- an exception indicating that the server is not accepting new connections
loginException
public static ServerException.LoginException loginException()
- Returns:
- an exception indicating that a login has failed