GoCollections/exceptions/IllegalParameter.go

19 lines
535 B
Go
Raw Normal View History

2022-11-25 18:19:33 +08:00
/*
* Copyright (c) 2022 tursom. All rights reserved.
* Use of this source code is governed by a GPL-3
* license that can be found in the LICENSE file.
*/
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{
*NewRuntimeException(message, config.AddSkipStack(1).
2022-04-02 15:25:35 +08:00
SetExceptionName("github.com.tursom.GoCollections.exceptions.IllegalParameterException")),
2022-03-28 18:19:05 +08:00
}
}