org.jminor.common.server
Class ServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Nested Class Summary
static class ServerException.LoginException
          An exception indicating that a login has failed
static class ServerException.ServerFullException
          An exception indicating that the server is not accepting new connections
 
Method Summary
static ServerException.LoginException loginException()
           
static ServerException.ServerFullException serverFullException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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