Files
GoCollections/exceptions/IndexOutOfBoundError.go
2021-05-21 11:25:53 +08:00

17 lines
290 B
Go

package exceptions
type IndexOutOfBound struct {
RuntimeException
}
func NewIndexOutOfBound(message interface{}, getStackTrace bool) IndexOutOfBound {
return IndexOutOfBound{
NewRuntimeException(
message,
"exception caused IndexOutOfBound:",
getStackTrace,
nil,
),
}
}