Issue Details (XML | Word | Printable)

Key: FEST-230
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alex Ruiz
Reporter: Alex Ruiz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FEST

Validation of arguments not throwing correct Exceptions.

Created: 05/Oct/09 08:41 AM   Updated: 05/Oct/09 03:06 PM   Resolved: 05/Oct/09 03:06 PM
Return to search
Component/s: Assert
Affects Version/s: FEST-Assert 1.1
Fix Version/s: FEST-Assert 1.2

Time Tracking:
Not Specified


 Description  « Hide
  1. NullPointerException should be thrown if an argument is null.
  2. IndexOutOfBoundsException should be thrown if indices are out of bounds.
  3. For the rest, use IllegalArgumentException.


Alex Ruiz made changes - 05/Oct/09 09:22 AM
Field Original Value New Value
Description # {{NullPointerException}} should be thrown if an argument is {{null}}.
# {{IndexOutOfBoundsException}} should be thrown if indices are out of bounds.
# For the rest, use {{IllegalArgumentException}}.
Component/s Flamingo [ 13785 ]
Component/s Assert [ 13786 ]
Alex Ruiz made changes - 05/Oct/09 09:34 AM
Fix Version/s FEST-Swing 1.2a4 [ 15506 ]
Fix Version/s FEST-Assert 1.2a1 [ 15402 ]
Alex Ruiz made changes - 05/Oct/09 09:35 AM
Remaining Estimate 0 minutes [ 0 ]
Original Estimate 0 minutes [ 0 ]
Alex Ruiz made changes - 05/Oct/09 09:35 AM
Status Open [ 1 ] In Progress [ 3 ]
Alex Ruiz made changes - 05/Oct/09 03:06 PM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]