|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.appia.core.AppiaException
net.sf.appia.core.AppiaEventException
public class AppiaEventException
Thrown when an exception ocurs during Event
manipulation.
Event
,
Serialized FormField Summary | |
---|---|
static int |
ATTRIBUTEMISSING
Tried to initialize an Event without giving all the attributes necessary. |
static int |
CLOSEDCHANNEL
Tried to send an Event
on a closed Channel . |
static int |
COULDNOTBLOCK
Method Event.asyncGo(net.sf.appia.core.Channel, int) was called from the Appia Thread. |
static int |
NOTINITIALIZED
Tried to send an Event not initialized. |
int |
type
The type of the exception. |
static int |
UNKNOWN
Defauld error code. |
static int |
UNKNOWNQUALIFIER
Tried to create a ChannelEvent
without giving an
EventQualifier . |
static int |
UNKNOWNSESSION
Tried to get an Events
first session with an invalid source
Session . |
static int |
UNWANTEDEVENT
Tried to initialize an Event
that doesn't have a
ChannelEventRoute . |
static int |
WRONGTHREAD
Either: Event.asyncGo(Channel, int) was called from within the Appia thread
Event.go() was called from outside the Appia thread. |
Constructor Summary | |
---|---|
AppiaEventException(int type)
Constructs an AppiaEventException without a details message. |
|
AppiaEventException(int type,
java.lang.String s)
Constructs an AppiaEventException with a details message. |
|
AppiaEventException(java.lang.String s,
java.lang.Throwable cause)
Constructs an AppiaEventException with a message and a throwable cause. |
Method Summary |
---|
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 |
Field Detail |
---|
public static final int UNKNOWN
public static final int NOTINITIALIZED
Event.init()
,
Constant Field Valuespublic static final int ATTRIBUTEMISSING
Event.init()
,
Constant Field Valuespublic static final int UNKNOWNQUALIFIER
ChannelEvent
without giving an
EventQualifier
.
ChannelEvent
,
EventQualifier
,
Constant Field Valuespublic static final int UNKNOWNSESSION
Events
first session with an invalid source
Session
.
Channel.getFirstSession(net.sf.appia.core.ChannelEventRoute, int, net.sf.appia.core.Session)
,
Constant Field Valuespublic static final int UNWANTEDEVENT
Event
that doesn't have a
ChannelEventRoute
.
Layer
has declared the Event
as provided.
ChannelEventRoute
,
Layer
,
Constant Field Valuespublic static final int CLOSEDCHANNEL
Event
on a closed Channel
.
ChannelInit
,
ChannelClose
,
Constant Field Valuespublic static final int COULDNOTBLOCK
Event.asyncGo(net.sf.appia.core.Channel, int)
was called from the Appia Thread.
This cannot appen.
public static final int WRONGTHREAD
Event.asyncGo(Channel, int)
was called from within the Appia thread
Event.go()
was called from outside the Appia thread.
public int type
Constructor Detail |
---|
public AppiaEventException(int type)
type
- the type
of the exceptionpublic AppiaEventException(int type, java.lang.String s)
type
- the type
of the exceptions
- the details messagepublic AppiaEventException(java.lang.String s, java.lang.Throwable cause)
s
- the details messagecause
- the exception that caused this one.
|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |