|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
info.aduna.gee.spectacle.webserver.ChannelException
public class ChannelException
A ChannelException gets thrown when an problem occurs somewhere in a Channel.
| Field Summary | |
|---|---|
static String |
COVER_NOT_SET
Message indicating that the Channel needs to call setCover before attempting to perform the action. |
static String |
INTERNAL_ERROR
Message indicating that an otherwise unspecified internal error occurred |
static String |
NOT_AUTHORIZED
Message indicating that the Channel cannot login with the specified credentials, because either the password is incorrect, or the server does not accept Channel connections. |
static String |
NOT_LOGGED_IN
Message indicating that the Channel needs to be logged in to perform the action |
static String |
UNKNOWN_CHANNEL
Message indicating that the Channel cannot login with the specified credentials, because the channel name is not found on the server. |
| Constructor Summary | |
|---|---|
ChannelException(int returnCode,
String message)
Construct a new ChannelException |
|
ChannelException(int returnCode,
String message,
Exception wrapped)
Construct a new ChannelException |
|
ChannelException(String message)
Construct a new ChannelException |
|
ChannelException(String message,
Exception wrapped)
Construct a new ChannelException |
|
| Method Summary | |
|---|---|
int |
getReturnCode()
|
Exception |
getWrappedException()
|
void |
printStackTrace()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String UNKNOWN_CHANNEL
public static String NOT_AUTHORIZED
public static String NOT_LOGGED_IN
public static String COVER_NOT_SET
public static String INTERNAL_ERROR
| Constructor Detail |
|---|
public ChannelException(String message)
message - the message for this ChannelException
public ChannelException(int returnCode,
String message)
returnCode - the status as returned by the server the
Channel tried to contactmessage - the message for this ChannelException
public ChannelException(String message,
Exception wrapped)
message - the message for this ChannelExceptionwrapped - the underlying Exception that caused this
ChannelException to be thrown
public ChannelException(int returnCode,
String message,
Exception wrapped)
returnCode - the status as returned by the server the
Channel tried to contactmessage - the message for this ChannelExceptionwrapped - the underlying Exception that caused this
ChannelException to be thrown| Method Detail |
|---|
public Exception getWrappedException()
public int getReturnCode()
public void printStackTrace()
printStackTrace in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||