|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
org.jvoicexml.event.JVoiceXMLEvent
org.jvoicexml.event.ErrorEvent
org.jvoicexml.event.error.NoauthorizationError
public class NoauthorizationError
Thrown when the application tries to perform an operation that is not
authorized by the platform. Examples would include dialing an invalid
telephone number or one which the user is not allowed to call, attempting to
access a protected database via a platform-specific
<object>, inappropriate access to builtin grammars,
etc.
Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Field Summary | |
|---|---|
static String |
EVENT_TYPE
The detail message. |
| Constructor Summary | |
|---|---|
NoauthorizationError()
Constructs a new event with the event type as its detail message. |
|
NoauthorizationError(String message)
Constructs a new event with the specified detail message. the given detail message is expanded to the form <EVENT_TYPE>>: <message>. |
|
NoauthorizationError(String message,
Throwable cause)
Constructs a new event with the specified detail message and cause. |
|
NoauthorizationError(Throwable cause)
Constructs a new event with the specified cause and a detail message of (cause==null ? |
|
| Method Summary | |
|---|---|
String |
getEventType()
Get the event type of this event. |
| Methods inherited from class org.jvoicexml.event.JVoiceXMLEvent |
|---|
getMessage |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, 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 |
| Field Detail |
|---|
public static final String EVENT_TYPE
| Constructor Detail |
|---|
public NoauthorizationError()
getEventType()public NoauthorizationError(String message)
<EVENT_TYPE>>: <message>.
The cause is not initialized.
message - The detail message.getEventType()public NoauthorizationError(Throwable cause)
(cause==null ? getEventType() : cause.toString()) (which
typically contains the class and detail message of cause).
cause - The cause.getEventType()
public NoauthorizationError(String message,
Throwable cause)
message - The detail message.cause - The cause.| Method Detail |
|---|
public final String getEventType()
getEventType in class JVoiceXMLEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||