Skip to content

Commit

Permalink
modify NewException returned value
Browse files Browse the repository at this point in the history
  • Loading branch information
DMwangnima committed Dec 28, 2023
1 parent e22c77c commit b80993c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/hessian2/exception/exception.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Exception struct {
java_exception.Exception
}

func NewException(detailMessage string) Throwabler {
func NewException(detailMessage string) *Exception {
return &Exception{*java_exception.NewException(detailMessage)}
}

Expand Down

0 comments on commit b80993c

Please sign in to comment.