Fix javadoc
This commit is contained in:
2 files changed
+7
-4
No files matched your search
@@ -39,9 +39,10 @@ public class ThrowStatement extends InternalExpressionException
|
|||||||
* Conveniently creates a value from the {@code value} String
|
* Conveniently creates a value from the {@code value} String
|
||||||
* to be used easily in Java code
|
* to be used easily in Java code
|
||||||
* @param message The message to display when not handled
|
* @param message The message to display when not handled
|
||||||
* @param value A String that will be converted
|
* @param exception An {@link Exception} containing the inheritance data
|
||||||
* to a value to pass to {@code catch}
|
* for this exception. When throwing from Java,
|
||||||
* blocks
|
* those exceptions should be pre-registered and used
|
||||||
|
* instead of creating new ones each time.
|
||||||
* @param parent This exception's data
|
* @param parent This exception's data
|
||||||
*/
|
*/
|
||||||
public ThrowStatement(String message, Exception exception)
|
public ThrowStatement(String message, Exception exception)
|
||||||
|
|||||||
@@ -65,6 +65,8 @@ public class Throwables {
|
|||||||
* <p>Parent will default to {@link Throwables#USER_DEFINED} if provided
|
* <p>Parent will default to {@link Throwables#USER_DEFINED} if provided
|
||||||
* parentValue meets Value#isNull, else it will create a new {@link Exception},
|
* parentValue meets Value#isNull, else it will create a new {@link Exception},
|
||||||
* with its parent being {@link Throwables#USER_DEFINED}.
|
* with its parent being {@link Throwables#USER_DEFINED}.
|
||||||
|
* <p>If passed parent matches {@link Throwables#ERROR}, it will create an error
|
||||||
|
* exception, which cannot be caught.
|
||||||
* @param value The {@link Value} of the exception
|
* @param value The {@link Value} of the exception
|
||||||
* @param parentValue An optional {@link Value} matching the name of a parent exception.
|
* @param parentValue An optional {@link Value} matching the name of a parent exception.
|
||||||
* <br>Accepts a {@link NullValue}, but not a {@code null}
|
* <br>Accepts a {@link NullValue}, but not a {@code null}
|
||||||
@@ -98,7 +100,7 @@ public class Throwables {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks whether the given filter matches an instance of this exception, including checking equality
|
* Checks whether the given filter matches an instance of this exception, by checking equality
|
||||||
* with itself and possible parents.
|
* with itself and possible parents.
|
||||||
* @param filter The {@link Value} to check against
|
* @param filter The {@link Value} to check against
|
||||||
* @return Whether or not the given value matches this exception's hierarchy
|
* @return Whether or not the given value matches this exception's hierarchy
|
||||||
|
|||||||
Reference in new issue
Block a user