Package io.helidon.common
Class Errors.ErrorMessagesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.helidon.common.Errors.ErrorMessagesException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Errors
public static final class Errors.ErrorMessagesException extends RuntimeException
Exception used byErrors.checkValid()
thrown in case there are fatal messages. This exception provides access to all the messages ofErrors
that created it.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Errors.ErrorMessage>
getMessages()
Get encountered error messages of all types (hint, warning, fatal).-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessages
public List<Errors.ErrorMessage> getMessages()
Get encountered error messages of all types (hint, warning, fatal).- Returns:
- encountered error messages.
-
-