Oracle Application Server Web Clipping API Reference
10g (9.0.4)

B10912-01

oracle.webclipping.bean
Interface WebClippingExceptionConstants

All Known Implementing Classes:
WebClippingConnection

public interface WebClippingExceptionConstants

This interface embodies the possible exception kinds that can result in an execution flow of a Web Clipping. The errors documented here will hint at the cause of the error and increase the general productivity of the application developer in debugging their problems.


Field Summary
static java.lang.String APPLICATION_ERROR
          This is a catch-all error for all application errors that may occur during an execution of a Web Clipping.
static java.lang.String CANNOT_OPENSTREAM
          This describes the generic error of problems opening a response stream from the Web Clipping Server.
static java.lang.String INTERNAL_ERROR
          This is a catch-all error for all internal errors that may occur during an execution of a Web Clipping.
static java.lang.String INVALID_PROTOCOL
          This error is very similar to the above case and can only be encountered when the application developer tries to modify the default URL specified in the generated Java template code.
static java.lang.String INVALID_URL
          This error indicates that an invalid URL has been specified for connecting to a Web Clipping Server.

 

Field Detail

INVALID_URL

public static final java.lang.String INVALID_URL
This error indicates that an invalid URL has been specified for connecting to a Web Clipping Server. This error can only happen if the user tried to modified the default URL specified in the generated Java template code. Modification of the said URL is reserved for advanced users who wish to switch between multiple providers depending on their application needs. In those cases, make sure that the URL is in the form: http://host.domain.com:port/webclipping/wcserver/jsp/connector.jsp.
See Also:
Constant Field Values

INVALID_PROTOCOL

public static final java.lang.String INVALID_PROTOCOL
This error is very similar to the above case and can only be encountered when the application developer tries to modify the default URL specified in the generated Java template code.
See Also:
Constant Field Values

CANNOT_OPENSTREAM

public static final java.lang.String CANNOT_OPENSTREAM
This describes the generic error of problems opening a response stream from the Web Clipping Server. It can be seen as a transport error and to debug the problem, one must delve into the internal exception carried by the WebClippingException object.
See Also:
Constant Field Values

APPLICATION_ERROR

public static final java.lang.String APPLICATION_ERROR
This is a catch-all error for all application errors that may occur during an execution of a Web Clipping. This is usually a result of an invalid request to the Web Clipping Server. This type of error is usualy one in which the user can correct upon seeing the message. Therefore it often comes in the form of just an error message. Other times, such a simple message must also be accompanied by a nested Exception that can further describe how to fix the problem.
See Also:
Constant Field Values

INTERNAL_ERROR

public static final java.lang.String INTERNAL_ERROR
This is a catch-all error for all internal errors that may occur during an execution of a Web Clipping. Like the CANNOT_OPENSTREAM error, one must dig deeper by the internal exception to find out the ultimate cause of the problem.
See Also:
Constant Field Values

Oracle Application Server Web Clipping API Reference
10g (9.0.4)

B10912-01

Copyright © 1996, 2003, Oracle. All rights reserved.