Skip navigation links
A B C E G N P R S V 

A

AbstractException - Exception in com.crabshue.commons.exceptions
Abstract exception.
AbstractException() - Constructor for exception com.crabshue.commons.exceptions.AbstractException
 
AbstractException(ErrorType) - Constructor for exception com.crabshue.commons.exceptions.AbstractException
Constructor with an ErrorType.
AbstractException(ErrorType, Throwable) - Constructor for exception com.crabshue.commons.exceptions.AbstractException
Constructor with an ErrorType and a Throwable.
AbstractException(ErrorType, String) - Constructor for exception com.crabshue.commons.exceptions.AbstractException
Constructor with an ErrorType and a custom message.
AbstractException(ErrorType, String, Throwable) - Constructor for exception com.crabshue.commons.exceptions.AbstractException
Constructor with an ErrorType, a custom message, and a Throwable.
addContextValue(String, Object) - Method in exception com.crabshue.commons.exceptions.AbstractException
Add a context entry to an exception as a label and an object.
addContextValue(ErrorContext, Object) - Method in exception com.crabshue.commons.exceptions.AbstractException
Add a context entry to an exception as an ErrorContext and an object.
ApplicationException - Exception in com.crabshue.commons.exceptions
Exception used to raise application errors.
ApplicationException() - Constructor for exception com.crabshue.commons.exceptions.ApplicationException
 
ApplicationException(ErrorType) - Constructor for exception com.crabshue.commons.exceptions.ApplicationException
 
ApplicationException(ErrorType, Throwable) - Constructor for exception com.crabshue.commons.exceptions.ApplicationException
 
ApplicationException(ErrorType, String) - Constructor for exception com.crabshue.commons.exceptions.ApplicationException
 
ApplicationException(ErrorType, String, Throwable) - Constructor for exception com.crabshue.commons.exceptions.ApplicationException
 

B

buildMessageFromThrowable(Throwable) - Static method in class com.crabshue.commons.exceptions.utils.ExceptionUtils
Build a message from a Throwable.

C

com.crabshue.commons.exceptions - package com.crabshue.commons.exceptions
Common exceptions used in the project commons.
com.crabshue.commons.exceptions.context - package com.crabshue.commons.exceptions.context
Types and contexts to define exceptions.
com.crabshue.commons.exceptions.utils - package com.crabshue.commons.exceptions.utils
Utility classes for operations on exceptions.
CommonErrorContext - Enum in com.crabshue.commons.exceptions.context
Common exception context values.
CommonErrorType - Enum in com.crabshue.commons.exceptions.context
Common exception context values.

E

ErrorContext - Interface in com.crabshue.commons.exceptions.context
Error contexts to use with AbstractException and implementing classes.
ErrorType - Interface in com.crabshue.commons.exceptions.context
Error types to use with AbstractException and implementing classes.
ExceptionMessageUtils - Class in com.crabshue.commons.exceptions.utils
Utility class providing methods to format list and maps of values that belong in an exception context.
ExceptionMessageUtils() - Constructor for class com.crabshue.commons.exceptions.utils.ExceptionMessageUtils
 
ExceptionUtils - Class in com.crabshue.commons.exceptions.utils
Utility class to manipulate exceptions.
ExceptionUtils() - Constructor for class com.crabshue.commons.exceptions.utils.ExceptionUtils
 

G

getMessage() - Method in interface com.crabshue.commons.exceptions.context.ErrorType
Provide a message for the error type.

N

name() - Method in interface com.crabshue.commons.exceptions.context.ErrorContext
Provide the name of the error context.
name() - Method in interface com.crabshue.commons.exceptions.context.ErrorType
Provide the name of the error type.

P

printList(Collection<T>, Function<T, String>) - Static method in class com.crabshue.commons.exceptions.utils.ExceptionMessageUtils
Print a Collection as a String.
printMap(Map<T, V>, Function<T, String>, Function<V, String>) - Static method in class com.crabshue.commons.exceptions.utils.ExceptionMessageUtils
Print a Map as a String.
printValues(Function<T, String>, T...) - Static method in class com.crabshue.commons.exceptions.utils.ExceptionMessageUtils
Print a Collection as a String.

R

removeStackTraces(Throwable) - Static method in class com.crabshue.commons.exceptions.utils.ExceptionUtils
Remove all the stack traces from a Throwable.

S

SystemException - Exception in com.crabshue.commons.exceptions
Exception used to raise system failures.
SystemException() - Constructor for exception com.crabshue.commons.exceptions.SystemException
 
SystemException(Throwable) - Constructor for exception com.crabshue.commons.exceptions.SystemException
 
SystemException(ErrorType) - Constructor for exception com.crabshue.commons.exceptions.SystemException
 
SystemException(ErrorType, Throwable) - Constructor for exception com.crabshue.commons.exceptions.SystemException
 
SystemException(ErrorType, String) - Constructor for exception com.crabshue.commons.exceptions.SystemException
 
SystemException(ErrorType, String, Throwable) - Constructor for exception com.crabshue.commons.exceptions.SystemException
 

V

ValidationException - Exception in com.crabshue.commons.exceptions
Exception used to raise validation errors.
ValidationException() - Constructor for exception com.crabshue.commons.exceptions.ValidationException
 
ValidationException(ErrorType) - Constructor for exception com.crabshue.commons.exceptions.ValidationException
 
ValidationException(ErrorType, Throwable) - Constructor for exception com.crabshue.commons.exceptions.ValidationException
 
ValidationException(ErrorType, String) - Constructor for exception com.crabshue.commons.exceptions.ValidationException
 
ValidationException(ErrorType, String, Throwable) - Constructor for exception com.crabshue.commons.exceptions.ValidationException
 
valueOf(String) - Static method in enum com.crabshue.commons.exceptions.context.CommonErrorContext
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.crabshue.commons.exceptions.context.CommonErrorType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.crabshue.commons.exceptions.context.CommonErrorContext
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.crabshue.commons.exceptions.context.CommonErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E G N P R S V 
Skip navigation links

Copyright © 2021 Crabs Hue. All rights reserved.