| Package | Description |
|---|---|
| org.apache.servicecomb.core.exception | |
| org.apache.servicecomb.core.exception.converter |
| Modifier and Type | Method and Description |
|---|---|
DefaultExceptionProcessor |
DefaultExceptionProcessor.setConverters(List<ExceptionConverter<? extends Throwable>> converters) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectTimeoutExceptionConverter |
class |
ConstraintViolationExceptionConverter |
class |
DefaultExceptionConverter
Only very few exceptions carry sensitive data
If discard all exception messages for these very few exceptions, it will cause difficult to locate problems
so default to remain the messages, and log the exception
if want to change these:
1.
|
class |
IllegalArgumentExceptionConverter |
class |
InvocationExceptionConverter |
class |
TimeoutExceptionConverter |
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.