Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3967656
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:44:46+00:00 2026-05-20T03:44:46+00:00

This(*) ObjectLockedException returned from a Java-based web service. I want to catch this specific

  • 0

This(*) ObjectLockedException returned from a Java-based web service. I want to catch this specific error on .NET.

I use C#. Can anyone suggest a method for the code below? I mean how can I make it work?

try{
 service.something();

}catch(ObjectLockedException exx)
{
  alert("Hey!, remove the lock");
}
catch
{
//this block is for the rest of the exceptions
}

(*)The Detailed Explnation OF Exception That I want to catch;
java.rmi.RemoteException: error while preparing instance QS.TYR.611;
nested exception is: xy.zrt.ugy.business.ObjectLockedException: Could not obtain lock for QS.TYR.611

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T03:44:46+00:00Added an answer on May 20, 2026 at 3:44 am

    If the “something” operation in your service has a fault contract then there will be a detail type that contains the error information for the fault. Look for FaultContractAttribute in your service interface. Given this type, T, you can catch FaultException<T>.

    If there is no fault contract, you’ll have to catch FaultException and pick it apart.

    It’s unlikely that you can catch the nested exception directly… but it ultimately depends on the fault contract.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a super simple issue that I can't figure out. I want to
this is am learning java now. I just want to know whether should we
This question is kind of general and not very specific. We have a java
This code below allows me to find the word error in all my files
This is my sample code: SPWeb web = SPContext.Current.Web SPList list = web.Lists[TestList]; try
This is an example of the code am using. I use a modified version
This question is quite specific. I'm using Symfony2 White October Admin Bundle for generating
This is as close as I've gotten to successfully populating an expandable listview from
This is my database table. Now I want to combine Branch_Id, Acc_no and Acc_Type
This seems 101-level, but I can't find an answer! (instead I find links to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.