Package tech.becoming.common.exceptions
Class BadRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- tech.becoming.common.exceptions.AbstractRuntimeException
-
- tech.becoming.common.exceptions.BadRequestException
-
- All Implemented Interfaces:
java.io.Serializable
public class BadRequestException extends AbstractRuntimeException
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class tech.becoming.common.exceptions.AbstractRuntimeException
LOGGER
-
-
Constructor Summary
Constructors Constructor Description BadRequestException()BadRequestException(java.util.List<ExceptionDetail> details)BadRequestException(ExceptionDetail detail)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHttpCode()static voidthrowIfHasDetails(java.util.List<ExceptionDetail> details)-
Methods inherited from class tech.becoming.common.exceptions.AbstractRuntimeException
toString
-
-
-
-
Constructor Detail
-
BadRequestException
public BadRequestException()
-
BadRequestException
public BadRequestException(java.util.List<ExceptionDetail> details)
-
BadRequestException
public BadRequestException(ExceptionDetail detail)
-
-
Method Detail
-
getHttpCode
public int getHttpCode()
- Specified by:
getHttpCodein classAbstractRuntimeException
-
throwIfHasDetails
public static void throwIfHasDetails(java.util.List<ExceptionDetail> details)
-
-