Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ns.tcpframework.exceptions.BadRequestException
- All Implemented Interfaces:
Serializable
Exception thrown to indicate that a bad request was made.
This is used to signal that the client sent an invalid or malformed request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBadRequestException(String message) Constructs a new BadRequestException with the specified detail message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadRequestException
Constructs a new BadRequestException with the specified detail message.- Parameters:
message- The detail message explaining the reason for the exception.
-