Class BadRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ns.tcpframework.exceptions.BadRequestException
All Implemented Interfaces:
Serializable

public class BadRequestException extends Exception
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 Details

    • BadRequestException

      public BadRequestException(String message)
      Constructs a new BadRequestException with the specified detail message.
      Parameters:
      message - The detail message explaining the reason for the exception.