public class ExceptionUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static io.servicecomb.foundation.common.RegisterManager<String,String> |
ERROR_DESC_MGR |
| Modifier | Constructor and Description |
|---|---|
protected |
ExceptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static CseException |
createCseException(String code,
Object... args) |
static CseException |
createCseException(String code,
Throwable cause,
Object... args) |
static CseException |
handlerRefNotExist(String id) |
static CseException |
lbAddressNotFound(String microserviceName,
String microserviceVersionRule,
String transportName) |
static CseException |
operationIdInvalid(String schemaId,
String path) |
static CseException |
producerOperationNotExist(String schemaId,
String operationName) |
public static CseException createCseException(String code, Object... args)
public static CseException createCseException(String code, Throwable cause, Object... args)
public static CseException producerOperationNotExist(String schemaId, String operationName)
public static CseException operationIdInvalid(String schemaId, String path)
public static CseException handlerRefNotExist(String id)
public static CseException lbAddressNotFound(String microserviceName, String microserviceVersionRule, String transportName)
Copyright © 2017. All rights reserved.