Bug 1018784 - [Doc Bug Fix] Incomplete list of RESTEasy Internally Thrown Exceptions
Summary: [Doc Bug Fix] Incomplete list of RESTEasy Internally Thrown Exceptions
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Documentation, RESTEasy
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: EAP 6.4.2
Assignee: Andrea Hoffer
QA Contact: Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-14 12:04 UTC by Petr Sakař
Modified: 2015-07-17 12:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Build Name: 14875, Development Guide-6.2-1 Build Date: 02-10-2013 13:20:00 Topic ID: 2811-432841 [Latest]
Last Closed: 2015-07-16 20:35:31 UTC
Type: Bug


Attachments (Terms of Use)

Description Petr Sakař 2013-10-14 12:04:42 UTC
Title: RESTEasy Internally Thrown Exceptions

Describe the issue:

I know about at least one case not mentioned - 406. Please consult with developers

Comment 6 Weinan Li 2015-07-16 15:49:35 UTC
In this document:   https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.4/html-single/Development_Guide/index.html#RESTEasy_Internally_Thrown_Exceptions

the description is complete for spi exceptions:

cute:resteasy-upstream-Branch_2_3 weli$ grep -rl 'Failure' * | grep java$ | grep -v test | grep 'Failure\|Exception' | grep spi
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/BadRequestException.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/DefaultOptionsMethodException.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/Failure.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/InternalServerErrorException.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/LoggableFailure.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/MethodNotAllowedException.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/NotAcceptableException.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/NotFoundException.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ReaderException.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/UnauthorizedException.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/UnsupportedMediaTypeException.java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/WriterException.java

Other exceptions not included in document are not relative so I suggest this bug is fixed.

Comment 7 Andrea Hoffer 2015-07-16 20:35:31 UTC
Closing this as CLOSED - NOTABUG due to Weinan's response that the list is complete.


Note You need to log in before you can comment on or make changes to this bug.