GoCollections/exceptions/IllegalParameter.go
2022-03-28 18:19:05 +08:00

16 lines
339 B
Go

package exceptions
type IllegalParameterException struct {
RuntimeException
}
func NewIllegalParameterException(message any, config *ExceptionConfig) *IllegalParameterException {
return &IllegalParameterException{
NewRuntimeException(
message,
"exception caused ElementNotFoundException:",
config.AddSkipStack(1),
),
}
}