micro-web
Toggle table of contents
JVM
Platform filter
JVM
Switch theme
Search in API
micro-web
micro-web
/
com.jiangtj.micro.web
/
BaseExceptionUtils
Base
Exception
Utils
open
class
BaseExceptionUtils
Members
Constructors
Base
Exception
Utils
Link copied to clipboard
constructor
(
)
Functions
bad
Request
Link copied to clipboard
open
fun
badRequest
(
msg
:
String
)
:
BaseException
400
forbidden
Link copied to clipboard
open
fun
forbidden
(
msg
:
String
)
:
BaseException
403
from
Link copied to clipboard
open
fun
from
(
status
:
HttpStatus
,
msg
:
String
,
@
Nullable
cause
:
Throwable
)
:
BaseException
internal
Server
Error
Link copied to clipboard
open
fun
internalServerError
(
msg
:
String
)
:
BaseException
500
open
fun
internalServerError
(
msg
:
String
,
@
Nullable
cause
:
Throwable
)
:
BaseException
not
Found
Link copied to clipboard
open
fun
notFound
(
msg
:
String
)
:
BaseException
404
unauthorized
Link copied to clipboard
open
fun
unauthorized
(
msg
:
String
)
:
BaseException
401