You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2020/07/12 14:56:50 UTC

[dubbo-go-hessian2] branch master updated: Mod: modify mutex vari name

This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-hessian2.git


The following commit(s) were added to refs/heads/master by this push:
     new d079971  Mod: modify mutex vari name
     new caa228f  Merge pull request #210 from fangyincheng/master
d079971 is described below

commit d07997193ea3857eef1663d6e87211320fe5dc37
Author: fangyincheng <fa...@sina.com>
AuthorDate: Sun Jul 12 22:48:32 2020 +0800

    Mod: modify mutex vari name
---
 java_exception/annotation_type_mismatch_exception.go     | 2 +-
 java_exception/array_index_out_of_bounds_exception.go    | 2 +-
 java_exception/backing_store_exception.go                | 2 +-
 java_exception/broken_barrier_exception.go               | 2 +-
 java_exception/cancellation_exception.go                 | 2 +-
 java_exception/class_not_found_exception.go              | 2 +-
 java_exception/classc_cast_exception.go                  | 2 +-
 java_exception/clone_not_supported_exception.go          | 2 +-
 java_exception/completion_exception.go                   | 2 +-
 java_exception/concurrent_modification_exception.go      | 2 +-
 java_exception/data_format_exception.go                  | 2 +-
 java_exception/date_time_exception.go                    | 2 +-
 java_exception/date_time_parse_exception.go              | 2 +-
 java_exception/dubbo_generic_exception.go                | 2 +-
 java_exception/duplicate_format_flags_exception.go       | 2 +-
 java_exception/empty_stack_exception.go                  | 2 +-
 java_exception/enum_constant_not_present_exception.go    | 2 +-
 java_exception/eof_exception.go                          | 2 +-
 java_exception/execution_exception.go                    | 2 +-
 java_exception/file_not_found_exception.go               | 2 +-
 java_exception/formatter_closed_exception.go             | 2 +-
 java_exception/illegal_access_exception.go               | 2 +-
 java_exception/illegal_argument_exception.go             | 3 ++-
 java_exception/illegal_classFormat_exception.go          | 2 +-
 java_exception/illegal_format_code_point_exception.go    | 2 +-
 java_exception/illegal_format_conversion_exception.go    | 2 +-
 java_exception/illegal_format_flags_exception.go         | 2 +-
 java_exception/illegal_format_precision_exception.go     | 2 +-
 java_exception/illegal_format_width_exception.go         | 2 +-
 java_exception/illegal_monitor_state_exception.go        | 2 +-
 java_exception/illegal_state_exception.go                | 2 +-
 java_exception/illegal_thread_state_exception.go         | 2 +-
 java_exception/illformed_locale_exception.go             | 2 +-
 java_exception/incomplete_annotation_exception.go        | 2 +-
 java_exception/index_out_of_bounds_exception.go          | 2 +-
 java_exception/input_mismatch_exception.go               | 2 +-
 java_exception/instantiation_exception.go                | 2 +-
 java_exception/interrupted_exception.go                  | 2 +-
 java_exception/interrupted_io_exception.go               | 2 +-
 java_exception/invalid_class_exception.go                | 2 +-
 java_exception/invalid_object_exception.go               | 2 +-
 java_exception/invalid_preferences_format_exception.go   | 2 +-
 java_exception/invalid_properties_format_exception.go    | 2 +-
 java_exception/invocation_target_exception.go            | 2 +-
 java_exception/io_exception.go                           | 2 +-
 java_exception/jar_exception.go                          | 2 +-
 java_exception/lambda_conversion_exception.go            | 2 +-
 java_exception/malformed_parameterized_type_exception.go | 2 +-
 java_exception/malformed_parameters_exception.go         | 2 +-
 java_exception/missing_format_argument_exception.go      | 2 +-
 java_exception/missing_format_width_exception.go         | 2 +-
 java_exception/missing_resource_exception.go             | 2 +-
 java_exception/negative_array_size_exception.go          | 2 +-
 java_exception/no_such_element_exception.go              | 2 +-
 java_exception/no_such_field_exception.go                | 2 +-
 java_exception/no_such_method_exception.go               | 2 +-
 java_exception/not_active_exception.go                   | 2 +-
 java_exception/not_serializable_exception.go             | 2 +-
 java_exception/null_pointer_exception.go                 | 2 +-
 java_exception/number_format_exception.go                | 2 +-
 java_exception/object_stream_exception.go                | 2 +-
 java_exception/optional_data_exception.go                | 2 +-
 java_exception/reflective_operation_exception.go         | 2 +-
 java_exception/rejected_execution_exception.go           | 2 +-
 java_exception/runtime_exception.go                      | 2 +-
 java_exception/security_exception.go                     | 2 +-
 java_exception/stream_corrupted_exception.go             | 2 +-
 java_exception/string_index_out_of_bounds_exception.go   | 2 +-
 java_exception/sync_failed_exception.go                  | 2 +-
 java_exception/timeout_exception.go                      | 2 +-
 java_exception/too_many_listeners_exception.go           | 2 +-
 java_exception/type_not_present_exception.go             | 2 +-
 java_exception/unchecked_IO_exception.go                 | 2 +-
 java_exception/undeclared_throwable_exception.go         | 2 +-
 java_exception/unknown_format_conversion_exception.go    | 2 +-
 java_exception/unknown_format_flags_exception.go         | 2 +-
 java_exception/unmodifiable_class_exception.go           | 2 +-
 java_exception/unsupported_operation_exception.go        | 2 +-
 java_exception/unsupported_temporal_type_exception.go    | 2 +-
 java_exception/utf_data_format_exception.go              | 2 +-
 java_exception/write_aborted_exception.go                | 2 +-
 java_exception/wrong_method_type_exception.go            | 2 +-
 java_exception/zip_exception.go                          | 2 +-
 java_exception/zone_rules_exception.go                   | 2 +-
 java_unknown_exception.go                                | 6 +++---
 85 files changed, 88 insertions(+), 87 deletions(-)

diff --git a/java_exception/annotation_type_mismatch_exception.go b/java_exception/annotation_type_mismatch_exception.go
index cbd2301..a3e702c 100644
--- a/java_exception/annotation_type_mismatch_exception.go
+++ b/java_exception/annotation_type_mismatch_exception.go
@@ -46,4 +46,4 @@ func (AnnotationTypeMismatchException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e AnnotationTypeMismatchException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/array_index_out_of_bounds_exception.go b/java_exception/array_index_out_of_bounds_exception.go
index 0a09ed6..6555cd4 100644
--- a/java_exception/array_index_out_of_bounds_exception.go
+++ b/java_exception/array_index_out_of_bounds_exception.go
@@ -44,4 +44,4 @@ func (ArrayIndexOutOfBoundsException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e ArrayIndexOutOfBoundsException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/backing_store_exception.go b/java_exception/backing_store_exception.go
index 3f2e4ce..72d5ade 100644
--- a/java_exception/backing_store_exception.go
+++ b/java_exception/backing_store_exception.go
@@ -44,4 +44,4 @@ func (BackingStoreException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e BackingStoreException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/broken_barrier_exception.go b/java_exception/broken_barrier_exception.go
index 44c24e0..c018432 100644
--- a/java_exception/broken_barrier_exception.go
+++ b/java_exception/broken_barrier_exception.go
@@ -44,4 +44,4 @@ func (BrokenBarrierException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e BrokenBarrierException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/cancellation_exception.go b/java_exception/cancellation_exception.go
index fddc8df..be7be99 100644
--- a/java_exception/cancellation_exception.go
+++ b/java_exception/cancellation_exception.go
@@ -44,4 +44,4 @@ func (CancellationException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e CancellationException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/class_not_found_exception.go b/java_exception/class_not_found_exception.go
index 69eab81..1963256 100644
--- a/java_exception/class_not_found_exception.go
+++ b/java_exception/class_not_found_exception.go
@@ -45,4 +45,4 @@ func (ClassNotFoundException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e ClassNotFoundException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/classc_cast_exception.go b/java_exception/classc_cast_exception.go
index 4c6d5a2..11fd796 100644
--- a/java_exception/classc_cast_exception.go
+++ b/java_exception/classc_cast_exception.go
@@ -44,4 +44,4 @@ func (ClassCastException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e ClassCastException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/clone_not_supported_exception.go b/java_exception/clone_not_supported_exception.go
index e9ef78b..ee1abd0 100644
--- a/java_exception/clone_not_supported_exception.go
+++ b/java_exception/clone_not_supported_exception.go
@@ -48,4 +48,4 @@ func (CloneNotSupportedException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e CloneNotSupportedException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/completion_exception.go b/java_exception/completion_exception.go
index e55395b..7accd5e 100644
--- a/java_exception/completion_exception.go
+++ b/java_exception/completion_exception.go
@@ -44,4 +44,4 @@ func NewCompletionException(detailMessage string) *CompletionException {
 // equals to getStackTrace in java
 func (e CompletionException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/concurrent_modification_exception.go b/java_exception/concurrent_modification_exception.go
index 716bf54..4f50854 100644
--- a/java_exception/concurrent_modification_exception.go
+++ b/java_exception/concurrent_modification_exception.go
@@ -44,4 +44,4 @@ func NewConcurrentModificationException(detailMessage string) *ConcurrentModific
 // equals to getStackTrace in java
 func (e ConcurrentModificationException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/data_format_exception.go b/java_exception/data_format_exception.go
index 4154798..e4b0e23 100644
--- a/java_exception/data_format_exception.go
+++ b/java_exception/data_format_exception.go
@@ -44,4 +44,4 @@ func (DataFormatException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e DataFormatException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/date_time_exception.go b/java_exception/date_time_exception.go
index 6607ef8..6d0f0e8 100644
--- a/java_exception/date_time_exception.go
+++ b/java_exception/date_time_exception.go
@@ -44,4 +44,4 @@ func (DateTimeException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e DateTimeException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/date_time_parse_exception.go b/java_exception/date_time_parse_exception.go
index 3fc4f15..4cb7247 100644
--- a/java_exception/date_time_parse_exception.go
+++ b/java_exception/date_time_parse_exception.go
@@ -46,4 +46,4 @@ func (DateTimeParseException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e DateTimeParseException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/dubbo_generic_exception.go b/java_exception/dubbo_generic_exception.go
index d6c4a9c..4acde47 100644
--- a/java_exception/dubbo_generic_exception.go
+++ b/java_exception/dubbo_generic_exception.go
@@ -46,4 +46,4 @@ func (DubboGenericException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e DubboGenericException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/duplicate_format_flags_exception.go b/java_exception/duplicate_format_flags_exception.go
index 23e1798..b3358ae 100644
--- a/java_exception/duplicate_format_flags_exception.go
+++ b/java_exception/duplicate_format_flags_exception.go
@@ -50,4 +50,4 @@ func NewDuplicateFormatFlagsException(detailMessage string) *DuplicateFormatFlag
 // equals to getStackTrace in java
 func (e DuplicateFormatFlagsException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/empty_stack_exception.go b/java_exception/empty_stack_exception.go
index 21dfb0c..a2f516c 100644
--- a/java_exception/empty_stack_exception.go
+++ b/java_exception/empty_stack_exception.go
@@ -44,4 +44,4 @@ func NewEmptyStackException(detailMessage string) *EmptyStackException {
 // equals to getStackTrace in java
 func (e EmptyStackException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/enum_constant_not_present_exception.go b/java_exception/enum_constant_not_present_exception.go
index c2fcb85..c8a5aa6 100644
--- a/java_exception/enum_constant_not_present_exception.go
+++ b/java_exception/enum_constant_not_present_exception.go
@@ -46,4 +46,4 @@ func (EnumConstantNotPresentException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e EnumConstantNotPresentException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/eof_exception.go b/java_exception/eof_exception.go
index 4d973ee..25127f8 100644
--- a/java_exception/eof_exception.go
+++ b/java_exception/eof_exception.go
@@ -44,4 +44,4 @@ func (EOFException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e EOFException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/execution_exception.go b/java_exception/execution_exception.go
index e7b8fef..f57789b 100644
--- a/java_exception/execution_exception.go
+++ b/java_exception/execution_exception.go
@@ -44,4 +44,4 @@ func (ExecutionException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e ExecutionException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/file_not_found_exception.go b/java_exception/file_not_found_exception.go
index 5aa2197..8fcb6ca 100644
--- a/java_exception/file_not_found_exception.go
+++ b/java_exception/file_not_found_exception.go
@@ -44,4 +44,4 @@ func (FileNotFoundException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e FileNotFoundException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/formatter_closed_exception.go b/java_exception/formatter_closed_exception.go
index b8ccfee..784339a 100644
--- a/java_exception/formatter_closed_exception.go
+++ b/java_exception/formatter_closed_exception.go
@@ -44,4 +44,4 @@ func (FormatterClosedException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e FormatterClosedException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_access_exception.go b/java_exception/illegal_access_exception.go
index 70070d8..47db075 100644
--- a/java_exception/illegal_access_exception.go
+++ b/java_exception/illegal_access_exception.go
@@ -44,4 +44,4 @@ func (IllegalAccessException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IllegalAccessException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_argument_exception.go b/java_exception/illegal_argument_exception.go
index 004358f..85db37b 100644
--- a/java_exception/illegal_argument_exception.go
+++ b/java_exception/illegal_argument_exception.go
@@ -40,7 +40,8 @@ func (e IllegalArgumentException) Error() string {
 func (IllegalArgumentException) JavaClassName() string {
 	return "java.lang.IllegalArgumentException"
 }
+
 // equals to getStackTrace in java
 func (e IllegalArgumentException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_classFormat_exception.go b/java_exception/illegal_classFormat_exception.go
index 6303651..acb79b2 100644
--- a/java_exception/illegal_classFormat_exception.go
+++ b/java_exception/illegal_classFormat_exception.go
@@ -44,4 +44,4 @@ func (IllegalClassFormatException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IllegalClassFormatException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_format_code_point_exception.go b/java_exception/illegal_format_code_point_exception.go
index b61fa8d..3efd4d7 100644
--- a/java_exception/illegal_format_code_point_exception.go
+++ b/java_exception/illegal_format_code_point_exception.go
@@ -47,4 +47,4 @@ func (IllegalFormatCodePointException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IllegalFormatCodePointException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_format_conversion_exception.go b/java_exception/illegal_format_conversion_exception.go
index 96642c8..1ce2788 100644
--- a/java_exception/illegal_format_conversion_exception.go
+++ b/java_exception/illegal_format_conversion_exception.go
@@ -48,4 +48,4 @@ func NewIllegalFormatConversionException(detailMessage string) *IllegalFormatCon
 // equals to getStackTrace in java
 func (e IllegalFormatConversionException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_format_flags_exception.go b/java_exception/illegal_format_flags_exception.go
index d844f83..a3ee18b 100644
--- a/java_exception/illegal_format_flags_exception.go
+++ b/java_exception/illegal_format_flags_exception.go
@@ -47,4 +47,4 @@ func (IllegalFormatFlagsException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IllegalFormatFlagsException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_format_precision_exception.go b/java_exception/illegal_format_precision_exception.go
index 336e25c..d57bba0 100644
--- a/java_exception/illegal_format_precision_exception.go
+++ b/java_exception/illegal_format_precision_exception.go
@@ -47,4 +47,4 @@ func (IllegalFormatPrecisionException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IllegalFormatPrecisionException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_format_width_exception.go b/java_exception/illegal_format_width_exception.go
index 680ccfc..e32f200 100644
--- a/java_exception/illegal_format_width_exception.go
+++ b/java_exception/illegal_format_width_exception.go
@@ -47,4 +47,4 @@ func NewIllegalFormatWidthException(w int) *IllegalFormatWidthException {
 // equals to getStackTrace in java
 func (e IllegalFormatWidthException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_monitor_state_exception.go b/java_exception/illegal_monitor_state_exception.go
index 2f2a254..4374afc 100644
--- a/java_exception/illegal_monitor_state_exception.go
+++ b/java_exception/illegal_monitor_state_exception.go
@@ -44,4 +44,4 @@ func (IllegalMonitorStateException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IllegalMonitorStateException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_state_exception.go b/java_exception/illegal_state_exception.go
index 21d1e94..88aa7c3 100644
--- a/java_exception/illegal_state_exception.go
+++ b/java_exception/illegal_state_exception.go
@@ -44,4 +44,4 @@ func (IllegalStateException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IllegalStateException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illegal_thread_state_exception.go b/java_exception/illegal_thread_state_exception.go
index a800e60..8aacdc5 100644
--- a/java_exception/illegal_thread_state_exception.go
+++ b/java_exception/illegal_thread_state_exception.go
@@ -44,4 +44,4 @@ func (IllegalThreadStateException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IllegalThreadStateException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/illformed_locale_exception.go b/java_exception/illformed_locale_exception.go
index 6c78812..baf9436 100644
--- a/java_exception/illformed_locale_exception.go
+++ b/java_exception/illformed_locale_exception.go
@@ -45,4 +45,4 @@ func NewIllformedLocaleException(detailMessage string) *IllformedLocaleException
 // equals to getStackTrace in java
 func (e IllformedLocaleException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/incomplete_annotation_exception.go b/java_exception/incomplete_annotation_exception.go
index 6217b99..6543d36 100644
--- a/java_exception/incomplete_annotation_exception.go
+++ b/java_exception/incomplete_annotation_exception.go
@@ -46,4 +46,4 @@ func (IncompleteAnnotationException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IncompleteAnnotationException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/index_out_of_bounds_exception.go b/java_exception/index_out_of_bounds_exception.go
index 0bbf1d3..bd5349d 100644
--- a/java_exception/index_out_of_bounds_exception.go
+++ b/java_exception/index_out_of_bounds_exception.go
@@ -44,4 +44,4 @@ func (IndexOutOfBoundsException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IndexOutOfBoundsException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/input_mismatch_exception.go b/java_exception/input_mismatch_exception.go
index 4f6d075..44e0eca 100644
--- a/java_exception/input_mismatch_exception.go
+++ b/java_exception/input_mismatch_exception.go
@@ -44,4 +44,4 @@ func (InputMismatchException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e InputMismatchException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/instantiation_exception.go b/java_exception/instantiation_exception.go
index ac744fc..eb6de69 100644
--- a/java_exception/instantiation_exception.go
+++ b/java_exception/instantiation_exception.go
@@ -44,4 +44,4 @@ func (InstantiationException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e InstantiationException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/interrupted_exception.go b/java_exception/interrupted_exception.go
index 8f26e56..00495b7 100644
--- a/java_exception/interrupted_exception.go
+++ b/java_exception/interrupted_exception.go
@@ -47,4 +47,4 @@ func (InterruptedException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e InterruptedException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/interrupted_io_exception.go b/java_exception/interrupted_io_exception.go
index deb4e2d..7ecb844 100644
--- a/java_exception/interrupted_io_exception.go
+++ b/java_exception/interrupted_io_exception.go
@@ -48,4 +48,4 @@ func (InterruptedIOException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e InterruptedIOException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/invalid_class_exception.go b/java_exception/invalid_class_exception.go
index 3dbffdf..ca97120 100644
--- a/java_exception/invalid_class_exception.go
+++ b/java_exception/invalid_class_exception.go
@@ -52,4 +52,4 @@ func (InvalidClassException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e InvalidClassException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/invalid_object_exception.go b/java_exception/invalid_object_exception.go
index 35cf767..334116e 100644
--- a/java_exception/invalid_object_exception.go
+++ b/java_exception/invalid_object_exception.go
@@ -44,4 +44,4 @@ func (InvalidObjectException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e InvalidObjectException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/invalid_preferences_format_exception.go b/java_exception/invalid_preferences_format_exception.go
index 8e83f88..92c9600 100644
--- a/java_exception/invalid_preferences_format_exception.go
+++ b/java_exception/invalid_preferences_format_exception.go
@@ -44,4 +44,4 @@ func (InvalidPreferencesFormatException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e InvalidPreferencesFormatException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/invalid_properties_format_exception.go b/java_exception/invalid_properties_format_exception.go
index 705e942..56a4cc7 100644
--- a/java_exception/invalid_properties_format_exception.go
+++ b/java_exception/invalid_properties_format_exception.go
@@ -44,4 +44,4 @@ func (InvalidPropertiesFormatException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e InvalidPropertiesFormatException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/invocation_target_exception.go b/java_exception/invocation_target_exception.go
index 55bb113..d530ad0 100644
--- a/java_exception/invocation_target_exception.go
+++ b/java_exception/invocation_target_exception.go
@@ -45,4 +45,4 @@ func (InvocationTargetException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e InvocationTargetException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/io_exception.go b/java_exception/io_exception.go
index 94333c7..01f4ece 100644
--- a/java_exception/io_exception.go
+++ b/java_exception/io_exception.go
@@ -44,4 +44,4 @@ func (IOException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e IOException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/jar_exception.go b/java_exception/jar_exception.go
index 899a101..2a1ad50 100644
--- a/java_exception/jar_exception.go
+++ b/java_exception/jar_exception.go
@@ -44,4 +44,4 @@ func (JarException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e JarException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/lambda_conversion_exception.go b/java_exception/lambda_conversion_exception.go
index c2ba972..b63e27e 100644
--- a/java_exception/lambda_conversion_exception.go
+++ b/java_exception/lambda_conversion_exception.go
@@ -47,4 +47,4 @@ func (LambdaConversionException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e LambdaConversionException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/malformed_parameterized_type_exception.go b/java_exception/malformed_parameterized_type_exception.go
index 5747ea3..6b8aa3d 100644
--- a/java_exception/malformed_parameterized_type_exception.go
+++ b/java_exception/malformed_parameterized_type_exception.go
@@ -44,4 +44,4 @@ func NewMalformedParameterizedTypeException(detailMessage string) *MalformedPara
 // equals to getStackTrace in java
 func (e MalformedParameterizedTypeException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/malformed_parameters_exception.go b/java_exception/malformed_parameters_exception.go
index 9d2c0f4..1b3a35d 100644
--- a/java_exception/malformed_parameters_exception.go
+++ b/java_exception/malformed_parameters_exception.go
@@ -44,4 +44,4 @@ func NewMalformedParametersException(detailMessage string) *MalformedParametersE
 // equals to getStackTrace in java
 func (e MalformedParametersException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/missing_format_argument_exception.go b/java_exception/missing_format_argument_exception.go
index 791e4d6..b90968d 100644
--- a/java_exception/missing_format_argument_exception.go
+++ b/java_exception/missing_format_argument_exception.go
@@ -47,4 +47,4 @@ func (MissingFormatArgumentException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e MissingFormatArgumentException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/missing_format_width_exception.go b/java_exception/missing_format_width_exception.go
index 52825f5..2f3e87c 100644
--- a/java_exception/missing_format_width_exception.go
+++ b/java_exception/missing_format_width_exception.go
@@ -45,4 +45,4 @@ func (MissingFormatWidthException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e MissingFormatWidthException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/missing_resource_exception.go b/java_exception/missing_resource_exception.go
index 7845aab..604d1ef 100644
--- a/java_exception/missing_resource_exception.go
+++ b/java_exception/missing_resource_exception.go
@@ -46,4 +46,4 @@ func NewMissingResourceException(detailMessage, classname, key string) *MissingR
 // equals to getStackTrace in java
 func (e MissingResourceException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/negative_array_size_exception.go b/java_exception/negative_array_size_exception.go
index e6740a3..538a5d6 100644
--- a/java_exception/negative_array_size_exception.go
+++ b/java_exception/negative_array_size_exception.go
@@ -44,4 +44,4 @@ func (NegativeArraySizeException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e NegativeArraySizeException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/no_such_element_exception.go b/java_exception/no_such_element_exception.go
index a6bb56a..dc56b74 100644
--- a/java_exception/no_such_element_exception.go
+++ b/java_exception/no_such_element_exception.go
@@ -44,4 +44,4 @@ func NewNoSuchElementException(detailMessage string) *NoSuchElementException {
 // equals to getStackTrace in java
 func (e NoSuchElementException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/no_such_field_exception.go b/java_exception/no_such_field_exception.go
index ec06e52..ba292f1 100644
--- a/java_exception/no_such_field_exception.go
+++ b/java_exception/no_such_field_exception.go
@@ -44,4 +44,4 @@ func (NoSuchFieldException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e NoSuchFieldException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/no_such_method_exception.go b/java_exception/no_such_method_exception.go
index 9e0f79b..a34b57d 100644
--- a/java_exception/no_such_method_exception.go
+++ b/java_exception/no_such_method_exception.go
@@ -44,4 +44,4 @@ func (NoSuchMethodException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e NoSuchMethodException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/not_active_exception.go b/java_exception/not_active_exception.go
index 46077c8..48141d3 100644
--- a/java_exception/not_active_exception.go
+++ b/java_exception/not_active_exception.go
@@ -44,4 +44,4 @@ func (NotActiveException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e NotActiveException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/not_serializable_exception.go b/java_exception/not_serializable_exception.go
index ab6dac4..e77c84a 100644
--- a/java_exception/not_serializable_exception.go
+++ b/java_exception/not_serializable_exception.go
@@ -44,4 +44,4 @@ func (NotSerializableException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e NotSerializableException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/null_pointer_exception.go b/java_exception/null_pointer_exception.go
index b1eb851..1686820 100644
--- a/java_exception/null_pointer_exception.go
+++ b/java_exception/null_pointer_exception.go
@@ -44,4 +44,4 @@ func (e NullPointerException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e NullPointerException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/number_format_exception.go b/java_exception/number_format_exception.go
index e7a8008..36c4401 100644
--- a/java_exception/number_format_exception.go
+++ b/java_exception/number_format_exception.go
@@ -44,4 +44,4 @@ func (NumberFormatException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e NumberFormatException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/object_stream_exception.go b/java_exception/object_stream_exception.go
index 3b569d7..eaa0eb8 100644
--- a/java_exception/object_stream_exception.go
+++ b/java_exception/object_stream_exception.go
@@ -44,4 +44,4 @@ func (ObjectStreamException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e ObjectStreamException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/optional_data_exception.go b/java_exception/optional_data_exception.go
index c901bf1..bc1424b 100644
--- a/java_exception/optional_data_exception.go
+++ b/java_exception/optional_data_exception.go
@@ -46,4 +46,4 @@ func (OptionalDataException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e OptionalDataException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/reflective_operation_exception.go b/java_exception/reflective_operation_exception.go
index 703cc65..2db3fc2 100644
--- a/java_exception/reflective_operation_exception.go
+++ b/java_exception/reflective_operation_exception.go
@@ -44,4 +44,4 @@ func (ReflectiveOperationException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e ReflectiveOperationException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/rejected_execution_exception.go b/java_exception/rejected_execution_exception.go
index 1a760c8..940f676 100644
--- a/java_exception/rejected_execution_exception.go
+++ b/java_exception/rejected_execution_exception.go
@@ -44,4 +44,4 @@ func NewRejectedExecutionException(detailMessage string) *RejectedExecutionExcep
 // equals to getStackTrace in java
 func (e RejectedExecutionException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/runtime_exception.go b/java_exception/runtime_exception.go
index d4829c1..5a8dff2 100644
--- a/java_exception/runtime_exception.go
+++ b/java_exception/runtime_exception.go
@@ -44,4 +44,4 @@ func (RuntimeException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e RuntimeException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/security_exception.go b/java_exception/security_exception.go
index fb1961d..f06c741 100644
--- a/java_exception/security_exception.go
+++ b/java_exception/security_exception.go
@@ -44,4 +44,4 @@ func (SecurityException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e SecurityException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/stream_corrupted_exception.go b/java_exception/stream_corrupted_exception.go
index 99793a9..bf27914 100644
--- a/java_exception/stream_corrupted_exception.go
+++ b/java_exception/stream_corrupted_exception.go
@@ -44,4 +44,4 @@ func (StreamCorruptedException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e StreamCorruptedException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/string_index_out_of_bounds_exception.go b/java_exception/string_index_out_of_bounds_exception.go
index 2cce9cd..3dd0495 100644
--- a/java_exception/string_index_out_of_bounds_exception.go
+++ b/java_exception/string_index_out_of_bounds_exception.go
@@ -44,4 +44,4 @@ func (StringIndexOutOfBoundsException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e StringIndexOutOfBoundsException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/sync_failed_exception.go b/java_exception/sync_failed_exception.go
index ba4e7db..e68103b 100644
--- a/java_exception/sync_failed_exception.go
+++ b/java_exception/sync_failed_exception.go
@@ -44,4 +44,4 @@ func (SyncFailedException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e SyncFailedException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/timeout_exception.go b/java_exception/timeout_exception.go
index 8456fda..831b108 100644
--- a/java_exception/timeout_exception.go
+++ b/java_exception/timeout_exception.go
@@ -44,4 +44,4 @@ func (TimeoutException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e TimeoutException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/too_many_listeners_exception.go b/java_exception/too_many_listeners_exception.go
index 68d45b4..16c7f62 100644
--- a/java_exception/too_many_listeners_exception.go
+++ b/java_exception/too_many_listeners_exception.go
@@ -44,4 +44,4 @@ func (TooManyListenersException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e TooManyListenersException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/type_not_present_exception.go b/java_exception/type_not_present_exception.go
index ed15498..9700352 100644
--- a/java_exception/type_not_present_exception.go
+++ b/java_exception/type_not_present_exception.go
@@ -45,4 +45,4 @@ func NewTypeNotPresentException(typeName string, detailMessage string) *TypeNotP
 // equals to getStackTrace in java
 func (e TypeNotPresentException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/unchecked_IO_exception.go b/java_exception/unchecked_IO_exception.go
index ac66e32..c7a8c3b 100644
--- a/java_exception/unchecked_IO_exception.go
+++ b/java_exception/unchecked_IO_exception.go
@@ -48,4 +48,4 @@ func (UncheckedIOException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e UncheckedIOException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/undeclared_throwable_exception.go b/java_exception/undeclared_throwable_exception.go
index 297425d..1483c8a 100644
--- a/java_exception/undeclared_throwable_exception.go
+++ b/java_exception/undeclared_throwable_exception.go
@@ -45,4 +45,4 @@ func NewUndeclaredThrowableException(detailMessage string) *UndeclaredThrowableE
 // equals to getStackTrace in java
 func (e UndeclaredThrowableException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/unknown_format_conversion_exception.go b/java_exception/unknown_format_conversion_exception.go
index 74687af..5b1fb26 100644
--- a/java_exception/unknown_format_conversion_exception.go
+++ b/java_exception/unknown_format_conversion_exception.go
@@ -47,4 +47,4 @@ func (UnknownFormatConversionException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e UnknownFormatConversionException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/unknown_format_flags_exception.go b/java_exception/unknown_format_flags_exception.go
index ae0a334..63da093 100644
--- a/java_exception/unknown_format_flags_exception.go
+++ b/java_exception/unknown_format_flags_exception.go
@@ -45,4 +45,4 @@ func (UnknownFormatFlagsException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e UnknownFormatFlagsException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/unmodifiable_class_exception.go b/java_exception/unmodifiable_class_exception.go
index 4ac7c3d..12755db 100644
--- a/java_exception/unmodifiable_class_exception.go
+++ b/java_exception/unmodifiable_class_exception.go
@@ -47,4 +47,4 @@ func (UnmodifiableClassException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e UnmodifiableClassException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/unsupported_operation_exception.go b/java_exception/unsupported_operation_exception.go
index 3c16ed0..d629eaf 100644
--- a/java_exception/unsupported_operation_exception.go
+++ b/java_exception/unsupported_operation_exception.go
@@ -44,4 +44,4 @@ func (UnsupportedOperationException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e UnsupportedOperationException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/unsupported_temporal_type_exception.go b/java_exception/unsupported_temporal_type_exception.go
index 6ec8f44..91bc184 100644
--- a/java_exception/unsupported_temporal_type_exception.go
+++ b/java_exception/unsupported_temporal_type_exception.go
@@ -44,4 +44,4 @@ func (UnsupportedTemporalTypeException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e UnsupportedTemporalTypeException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/utf_data_format_exception.go b/java_exception/utf_data_format_exception.go
index 356033a..8c6d22f 100644
--- a/java_exception/utf_data_format_exception.go
+++ b/java_exception/utf_data_format_exception.go
@@ -44,4 +44,4 @@ func (UTFDataFormatException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e UTFDataFormatException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/write_aborted_exception.go b/java_exception/write_aborted_exception.go
index 7f24bdb..bbaa1e2 100644
--- a/java_exception/write_aborted_exception.go
+++ b/java_exception/write_aborted_exception.go
@@ -46,4 +46,4 @@ func (WriteAbortedException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e WriteAbortedException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/wrong_method_type_exception.go b/java_exception/wrong_method_type_exception.go
index 2fd20c7..a0fcb0f 100644
--- a/java_exception/wrong_method_type_exception.go
+++ b/java_exception/wrong_method_type_exception.go
@@ -44,4 +44,4 @@ func NewWrongMethodTypeException(detailMessage string) *WrongMethodTypeException
 // equals to getStackTrace in java
 func (e WrongMethodTypeException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/zip_exception.go b/java_exception/zip_exception.go
index 894134d..9a92704 100644
--- a/java_exception/zip_exception.go
+++ b/java_exception/zip_exception.go
@@ -44,4 +44,4 @@ func (ZipException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e ZipException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_exception/zone_rules_exception.go b/java_exception/zone_rules_exception.go
index 4143ae4..871dba3 100644
--- a/java_exception/zone_rules_exception.go
+++ b/java_exception/zone_rules_exception.go
@@ -44,4 +44,4 @@ func (ZoneRulesException) JavaClassName() string {
 // equals to getStackTrace in java
 func (e ZoneRulesException) GetStackTrace() []StackTraceElement {
 	return e.StackTrace
-}
\ No newline at end of file
+}
diff --git a/java_unknown_exception.go b/java_unknown_exception.go
index 6787e3c..1b4196c 100644
--- a/java_unknown_exception.go
+++ b/java_unknown_exception.go
@@ -26,7 +26,7 @@ import (
 	"github.com/apache/dubbo-go-hessian2/java_exception"
 )
 
-var mutex sync.Mutex
+var exceptionCheckMutex sync.Mutex
 
 func checkAndGetException(cls classInfo) (structInfo, bool) {
 
@@ -45,8 +45,8 @@ func checkAndGetException(cls classInfo) (structInfo, bool) {
 	}
 	// if have these 4 fields, it is throwable struct
 	if count == 4 {
-		mutex.Lock()
-		defer mutex.Unlock()
+		exceptionCheckMutex.Lock()
+		defer exceptionCheckMutex.Unlock()
 		if throwable, ok = getStructInfo(cls.javaName); ok {
 			return throwable, true
 		}