GoCollections/exceptions/IllegalParameter.go

12 lines
328 B
Go
Raw Normal View History

2022-03-28 18:19:05 +08:00
package exceptions
type IllegalParameterException struct {
RuntimeException
}
2022-03-31 01:22:30 +08:00
func NewIllegalParameterException(message string, config *ExceptionConfig) *IllegalParameterException {
2022-03-28 18:19:05 +08:00
return &IllegalParameterException{
2022-03-31 01:22:30 +08:00
NewRuntimeException(message, config.AddSkipStack(1).SetExceptionName("IllegalParameterException")),
2022-03-28 18:19:05 +08:00
}
}