|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.netbeans.lib.cvsclient.connection.AuthenticationException
public class AuthenticationException
This exception is thrown when a connection with the server cannot be made, for whatever reason. It may be that the username and/or password are incorrect or it could be that the port number is incorrect. Note that authentication is not restricted here to mean security.
| Constructor Summary | |
|---|---|
AuthenticationException(java.lang.String message,
java.lang.String localizedMessage)
Construct an AuthenticationException with a message giving more details of what went wrong. |
|
AuthenticationException(java.lang.String message,
java.lang.Throwable underlyingThrowable,
java.lang.String localizedMessage)
Construct an AuthenticationException with a message and an underlying exception. |
|
AuthenticationException(java.lang.Throwable underlyingThrowable,
java.lang.String localizedMessage)
Construct an AuthenticationException with an underlying exception. |
|
| Method Summary | |
|---|---|
protected static java.lang.String |
getBundleString(java.lang.String key)
|
java.lang.String |
getLocalizedMessage()
|
java.lang.String |
getMessage()
|
java.lang.Throwable |
getUnderlyingThrowable()
Get the underlying throwable that is responsible for this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, 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 |
|---|
public AuthenticationException(java.lang.String message,
java.lang.String localizedMessage)
message - the message describing the error
public AuthenticationException(java.lang.String message,
java.lang.Throwable underlyingThrowable,
java.lang.String localizedMessage)
message - the message describing what went wronge - the underlying exception
public AuthenticationException(java.lang.Throwable underlyingThrowable,
java.lang.String localizedMessage)
t - the underlying throwable that caused this exception| Method Detail |
|---|
public java.lang.Throwable getUnderlyingThrowable()
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic java.lang.String getMessage()
getMessage in class java.lang.Throwableprotected static java.lang.String getBundleString(java.lang.String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||