Files
GoCollections/exceptions/ElementNotFound.go
2022-03-21 11:02:41 +08:00

17 lines
351 B
Go

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