mirror of
https://github.com/tursom/GoCollections.git
synced 2026-09-02 05:07:54 +08:00
17 lines
335 B
Go
17 lines
335 B
Go
package exceptions
|
|
|
|
type ElementNotFoundException struct {
|
|
RuntimeException
|
|
}
|
|
|
|
func NewElementNotFoundException(message interface{}, getStackTrace bool) ElementNotFoundException {
|
|
return ElementNotFoundException{
|
|
NewRuntimeException(
|
|
message,
|
|
"exception caused ElementNotFoundException:",
|
|
getStackTrace,
|
|
nil,
|
|
),
|
|
}
|
|
}
|