public class VerboseConnectException extends ConnectException
ConnectException
that has a more useful
message.Constructor and Description |
---|
VerboseConnectException(ConnectException e,
String endPointDescription)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Sigh,
ConnectException doesn't have a constructor that takes a
cause. |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public VerboseConnectException(ConnectException e, String endPointDescription)
e
- Original ConnectException
.endPointDescription
- The end point that we were trying to contact.public Throwable getCause()
ConnectException
doesn't have a constructor that takes a
cause.Copyright © 2000-2014. All Rights Reserved.