Tabnine Logo
ServiceException.setErrorMessage
Code IndexAdd Tabnine to your IDE (free)

How to use
setErrorMessage
method
in
org.jets3t.service.ServiceException

Best Java code snippets using org.jets3t.service.ServiceException.setErrorMessage (Showing top 3 results out of 315)

origin: net.java.dev.jets3t/jets3t

public ServiceException getServiceException() {
  String fullMessage = message
    + ": PartNumber=" + partNumber
    + ", MinSizeAllowed=" + minSizeAllowed
    + ", ProposedSize=" + proposedSize
    + ", ETag=" + etag;
  ServiceException e = new ServiceException(fullMessage);
  e.setErrorCode(code);
  e.setErrorMessage(message);
  e.setErrorHostId(hostId);
  e.setErrorRequestId(requestId);
  return e;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

public ServiceException getServiceException() {
  String fullMessage = message
    + ": PartNumber=" + partNumber
    + ", MinSizeAllowed=" + minSizeAllowed
    + ", ProposedSize=" + proposedSize
    + ", ETag=" + etag;
  ServiceException e = new ServiceException(fullMessage);
  e.setErrorCode(code);
  e.setErrorMessage(message);
  e.setErrorHostId(hostId);
  e.setErrorRequestId(requestId);
  return e;
}
origin: iterate-ch/cyberduck

failure.setErrorMessage(error.getMessage());
throw new S3ExceptionMappingService().map("Cannot delete {0}", failure,
  new Path(container, error.getKey(), EnumSet.of(Path.Type.file)));
  failure.setErrorMessage(error.getMessage());
  throw new S3ExceptionMappingService().map("Cannot delete {0}", failure,
    new Path(container, error.getKey(), EnumSet.of(Path.Type.file)));
org.jets3t.serviceServiceExceptionsetErrorMessage

Javadoc

Set the exception's error message; for internal use only.

Popular methods of ServiceException

  • getMessage
  • getCause
  • getErrorCode
  • getErrorMessage
  • <init>
    Create a service exception that includes an underlying cause exception.
  • getResponseCode
  • getResponseHeaders
  • getResponseStatus
  • printStackTrace
  • setErrorCode
    Set the exception's error code; for internal use only.
  • findXmlElementText
  • getRequestHost
  • findXmlElementText,
  • getRequestHost,
  • getRequestPath,
  • getRequestVerb,
  • getResponseDate,
  • getXmlMessage,
  • getXmlMessageAsBuilder,
  • isParsedFromXmlMessage,
  • parseXmlMessage

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (Timer)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Notification (javax.management)
  • JTable (javax.swing)
  • Top Sublime Text plugins
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