org.tentackle.db.rmi
Class LoginFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by org.tentackle.db.rmi.LoginFailedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyLoggedInException

public class LoginFailedException
extends RemoteException

RMI servers should throw a LoginFailedException if authentication fails (or any other reason)

Author:
harald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
LoginFailedException()
          Creates a LoginFailedException.
LoginFailedException(String s)
          Constructs a LoginFailedException with the specified detail message.
LoginFailedException(String s, Throwable cause)
          Constructs a LoginFailedException with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginFailedException

public LoginFailedException()
Creates a LoginFailedException.


LoginFailedException

public LoginFailedException(String s)
Constructs a LoginFailedException with the specified detail message.

Parameters:
s - the detail message

LoginFailedException

public LoginFailedException(String s,
                            Throwable cause)
Constructs a LoginFailedException with the specified detail message and cause. This constructor sets the RemoteException.detail field to the specified Throwable.

Parameters:
s - the detail message
cause - the cause


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de