Tabnine Logo
ClientException.getErrCode
Code IndexAdd Tabnine to your IDE (free)

How to use
getErrCode
method
in
com.aliyuncs.exceptions.ClientException

Best Java code snippets using com.aliyuncs.exceptions.ClientException.getErrCode (Showing top 2 results out of 315)

origin: spring-cloud-incubator/spring-cloud-alibaba

if (e.getErrCode().equals("InvalidAccessKeyId.NotFound")) {
  logger.error("PullMessageTask_execute_error,messageType:"
      + messageType + ",queueName:" + queueName
      + ",please check AccessKeyId", e);
if (e.getErrCode().equals("SignatureDoesNotMatch")) {
  logger.error("PullMessageTask_execute_error,messageType:"
      + messageType + ",queueName:" + queueName
origin: com.aliyun/aliyun-java-sdk-core

  response = client.getAcsResponse(describeEndpointsRequest);
} catch (ClientException e) {
  if ("InvalidRegionId".equals(e.getErrCode())
      && "The specified region does not exist.".equals(e.getErrMsg())) {
    putEndpointEntry(key, null);
    return;
  } else if ("Illegal Parameter".equals(e.getErrCode())
      && "Please check the parameters".equals(e.getErrMsg())) {
com.aliyuncs.exceptionsClientExceptiongetErrCode

Popular methods of ClientException

  • printStackTrace
  • getMessage
  • <init>
  • getErrMsg
  • getRequestId
  • setErrorType
  • toString

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Notification (javax.management)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now