org.jvoicexml.event.error
Class BadFetchHttpResponsecodeError

java.lang.Object
  extended by java.lang.Throwable
      extended by org.jvoicexml.event.JVoiceXMLEvent
          extended by org.jvoicexml.event.ErrorEvent
              extended by org.jvoicexml.event.error.BadFetchError
                  extended by org.jvoicexml.event.error.BadFetchProtocolResponsecodeError
                      extended by org.jvoicexml.event.error.BadFetchHttpResponsecodeError
All Implemented Interfaces:
Serializable

public class BadFetchHttpResponsecodeError
extends BadFetchProtocolResponsecodeError

A BadFetchProtocolResponsecodeError dedicated to the http protocol.

Version:
$Revision: 197 $

Copyright © 2005-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/

Author:
Dirk Schnelle
See Also:
Serialized Form

Field Summary
static String HTTP_PROTOCOL
          The fixed http protocol.
 
Fields inherited from class org.jvoicexml.event.error.BadFetchError
EVENT_TYPE
 
Constructor Summary
BadFetchHttpResponsecodeError(int responseCode)
          Constructs a new event with the event type as its detail message.
BadFetchHttpResponsecodeError(int responseCode, String message)
          Constructs a new event with the specified detail message. the given detail message is expanded to the form <getEventType()>>: <message>.
BadFetchHttpResponsecodeError(int responseCode, String message, Throwable cause)
          Constructs a new event with the specified detail message and cause.
BadFetchHttpResponsecodeError(int responseCode, Throwable cause)
          Constructs a new event with the specified cause and a detail message of (cause==null ?
 
Method Summary
 
Methods inherited from class org.jvoicexml.event.error.BadFetchProtocolResponsecodeError
appendSpecificationDetails, getProtocol, getResponseCode
 
Methods inherited from class org.jvoicexml.event.error.BadFetchError
getEventType
 
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

HTTP_PROTOCOL

public static final String HTTP_PROTOCOL
The fixed http protocol.

See Also:
Constant Field Values
Constructor Detail

BadFetchHttpResponsecodeError

public BadFetchHttpResponsecodeError(int responseCode)
Constructs a new event with the event type as its detail message. The cause is not initialized.

The responseCode is used to construct the event type.

Parameters:
responseCode - The protocol-specific response code.
See Also:
BadFetchError.getEventType()

BadFetchHttpResponsecodeError

public BadFetchHttpResponsecodeError(int responseCode,
                                     String message)
Constructs a new event with the specified detail message. the given detail message is expanded to the form <getEventType()>>: <message>. The cause is not initialized.

The responseCode is used to construct the event type.

Parameters:
responseCode - The protocol-specific response code.
message - The detail message.
See Also:
BadFetchError.getEventType()

BadFetchHttpResponsecodeError

public BadFetchHttpResponsecodeError(int responseCode,
                                     Throwable cause)
Constructs a new event with the specified cause and a detail message of (cause==null ? getEventType() : cause.toString()) (which typically contains the class and detail message of cause).

The responseCode is used to construct the event type.

Parameters:
responseCode - The protocol-specific response code.
cause - The cause.
See Also:
BadFetchError.getEventType()

BadFetchHttpResponsecodeError

public BadFetchHttpResponsecodeError(int responseCode,
                                     String message,
                                     Throwable cause)
Constructs a new event with the specified detail message and cause.

The responseCode is used to construct the event type.

Parameters:
responseCode - The protocol-specific response code.
message - The detail message.
cause - The cause.
See Also:
BadFetchError.getEventType()


Copyright © 2005-2007 JVoiceXML group.