Skip to content

Commit a0b0fbf

Browse files
author
Mathieu Dumoulin
committed
Updated incorrect reference to deprecated elements and missing exceptions
1 parent abcd171 commit a0b0fbf

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,20 @@ Proposed namespace structure
3939

4040
Proposed class tree
4141
-------------------
42-
- Exceptions (namespace)
42+
- StandardExceptions (namespace)
4343

44-
- Array (namespace)
45-
- ArrayUnderflowException
44+
- ArrayExceptions (namespace)
4645
- ArrayIsEmptyException
4746
- ArrayIsFullException
47+
- ArrayUnderflowException
4848
- IndexNotFoundException
4949
- InvalidKeyException
5050
- KeyAlreadyExistsException
5151
- KeyNotFoundException
5252
- ReadOnlyArrayException
5353
- ReadOnlyArrayItemException
5454

55-
- IO (namespace)
55+
- IOExceptions (namespace)
5656
- ConnectionLostException
5757
- ConnectionRefusedException
5858
- DirectoryNotFoundException
@@ -66,19 +66,19 @@ Proposed class tree
6666
- UnexpectedResponseException
6767
- UnknownHostException
6868

69-
- Logic (namespace)
69+
- LogicExceptions (namespace)
7070
- IllegalArgumentTypeException
7171
- IllegalValueException
7272

73-
- Operation (namespace)
73+
- OperationExceptions (namespace)
7474
- BadFunctionCallException
7575
- BadMethodCallException
7676
- InvalidOperationException
7777
- NotImplementedYetException
78-
- UnexpectedReturnValueException
7978
- OverflowException
79+
- UnexpectedReturnValueException
8080

81-
- Validation (namespace)
81+
- ValidationExceptions (namespace)
8282
- IncorrectLengthException
8383
- InvalidBooleanException
8484
- InvalidDateTimeException
@@ -97,11 +97,12 @@ Proposed class tree
9797

9898
Automatically deprecated exceptions
9999
-----------------------------------
100+
- ArrayUnderflowException in favor of ArrayIsEmptyException
100101
- BadMethodCallException in favor of BadFunctionCallException
102+
- BadFunctionCallException in favor of InvalidOperationException
101103
- IllegalValueException in favor of InvalidValueException
102-
- ArrayUnderflowException in favor of ArrayIsEmptyException
103104
- IncorrectLengthException in favor of InvalidLengthException
104-
- InvalidIndexException in favor of InvalidKeyException
105+
- IndexNotFoundException in favor of KeyNotFoundException
105106

106107
New exceptions and namespaces
107108
=============================
@@ -129,4 +130,4 @@ There are many validation functions or libraries, but each throw their own excep
129130

130131
Contribution notes
131132
==================
132-
Don't hesitate to contribute to this package, propose new exceptions to be pushed to the standard package. Don't hesitate to trigger discussions in the project as we want the best possible standard exception library. Nothing is perfect, everyone has different views, this project is for everyone!
133+
Don't hesitate to contribute to this package, propose new exceptions to be pushed to the standard package. Don't hesitate to trigger discussions in the project as we want the best possible standard exception library. Nothing is perfect, everyone has different views, this project is for everyone!

0 commit comments

Comments
 (0)