Package akka.http.scaladsl.model
Class IllegalRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- akka.http.scaladsl.model.ExceptionWithErrorInfo
-
- akka.http.scaladsl.model.IllegalRequestException
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public class IllegalRequestException extends ExceptionWithErrorInfo implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalRequestException(ErrorInfo info, StatusCodes.ClientError status)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IllegalRequestException
apply(StatusCodes.ClientError status)
static IllegalRequestException
apply(StatusCodes.ClientError status, ErrorInfo info)
static IllegalRequestException
apply(StatusCodes.ClientError status, java.lang.String detail)
ErrorInfo
info()
StatusCodes.ClientError
status()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalRequestException
public IllegalRequestException(ErrorInfo info, StatusCodes.ClientError status)
-
-
Method Detail
-
apply
public static IllegalRequestException apply(StatusCodes.ClientError status)
-
apply
public static IllegalRequestException apply(StatusCodes.ClientError status, ErrorInfo info)
-
apply
public static IllegalRequestException apply(StatusCodes.ClientError status, java.lang.String detail)
-
info
public ErrorInfo info()
- Overrides:
info
in classExceptionWithErrorInfo
-
status
public StatusCodes.ClientError status()
-
-