Tabnine Logo
NoActivityException
Code IndexAdd Tabnine to your IDE (free)

How to use
NoActivityException
in
com.arjuna.mw.wsas.exceptions

Best Java code snippets using com.arjuna.mw.wsas.exceptions.NoActivityException (Showing top 20 results out of 315)

origin: org.jboss.jbossts.xts/wsas

public String serviceType() throws NoActivityException, SystemException {
  ActivityImple currentActivity = current();
  if (currentActivity == null) {
    throw new NoActivityException();
  }
  return currentActivity.serviceType();
}
origin: org.jboss.jbossts.xts/wstx11

ex.printStackTrace();
origin: org.jboss.jbossts/jbossxts

ex.printStackTrace();
origin: jbosstm/narayana

public GlobalId activityId () throws NoActivityException, SystemException
{
ActivityImple curr = current();

if (curr == null)
  throw new NoActivityException();  // or return null?
else
  return curr.getGlobalId();
}

origin: org.jboss.jbossts.xts/jbossxts

ex.printStackTrace();
origin: org.jboss.jbossts.xts/jbossxts

public GlobalId activityId () throws NoActivityException, SystemException
{
ActivityImple curr = current();

if (curr == null)
  throw new NoActivityException();  // or return null?
else
  return curr.getGlobalId();
}

origin: org.jboss.jbossts/jbossxts

ex.printStackTrace();
origin: org.jboss.jbossts.xts/jbossxts

/**
 * @return the unique coordinator identifier.
 */
public CoordinatorId identifier () throws NoActivityException, SystemException
{
ActivityImple curr = current();

if (curr == null)
  throw new NoActivityException();
return _coordManager.identifier();
}
origin: org.jboss.jbossts.xts/wstx11

ex.printStackTrace();
origin: org.jboss.jbossts.xts/jbossxts

public String serviceType() throws NoActivityException, SystemException {
  ActivityImple currentActivity = current();
  if (currentActivity == null) {
    throw new NoActivityException();
  }
  return currentActivity.serviceType();
}
origin: org.jboss.jbossts.xts/jbossxts

ex.printStackTrace();
origin: org.jboss.jbossts/jbossxts

public GlobalId activityId () throws NoActivityException, SystemException
{
ActivityImple curr = current();

if (curr == null)
  throw new NoActivityException();  // or return null?
else
  return curr.getGlobalId();
}

origin: org.jboss.jbossts/jbossxts

public String serviceType() throws NoActivityException, SystemException {
  ActivityImple currentActivity = current();
  if (currentActivity == null) {
    throw new NoActivityException();
  }
  return currentActivity.serviceType();
}
origin: org.jboss.jbossts/jbossxts

/**
 * @return the unique coordinator identifier.
 */
public CoordinatorId identifier () throws NoActivityException, SystemException
{
ActivityImple curr = current();

if (curr == null)
  throw new NoActivityException();
return _coordManager.identifier();
}
origin: org.jboss.jbossts/jbossxts

/**
 * @return the unique coordinator identifier.
 */
public CoordinatorId identifier () throws NoActivityException,
    SystemException
{
  ActivityImple curr = current();
  if (curr == null)
    throw new NoActivityException();
  return _coordManager.identifier();
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * @return the unique coordinator identifier.
 */
public CoordinatorId identifier () throws NoActivityException,
    SystemException
{
  ActivityImple curr = current();
  if (curr == null)
    throw new NoActivityException();
  return _coordManager.identifier();
}
origin: org.jboss.jbossts.xts/wsas

public GlobalId activityId () throws NoActivityException, SystemException
{
ActivityImple curr = current();

if (curr == null)
  throw new NoActivityException();  // or return null?
else
  return curr.getGlobalId();
}

origin: jbosstm/narayana

public String serviceType() throws NoActivityException, SystemException {
  ActivityImple currentActivity = current();
  if (currentActivity == null) {
    throw new NoActivityException();
  }
  return currentActivity.serviceType();
}
origin: org.jboss.jbossts/jbossxts

/**
 * Get the completion status currently associated with the activity.
 *
 * @exception NoActivityException Thrown if there is no activity
 * associated with the current thread.
 * @exception SystemException Thrown if any other error occurs.
 *
 * @return the termination status for the current activity, if any.
 */
public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException
{
ActivityImple curr = current();

if (curr == null)
  throw new NoActivityException();
else
  return curr.getCompletionStatus();
}
origin: jbosstm/narayana

/**
 * Get the completion status currently associated with the activity.
 *
 * @exception NoActivityException Thrown if there is no activity
 * associated with the current thread.
 * @exception SystemException Thrown if any other error occurs.
 *
 * @return the termination status for the current activity, if any.
 */
public CompletionStatus getCompletionStatus () throws NoActivityException, SystemException
{
ActivityImple curr = current();

if (curr == null)
  throw new NoActivityException();
else
  return curr.getCompletionStatus();
}
com.arjuna.mw.wsas.exceptionsNoActivityException

Javadoc

Thrown if there is no activity associated with the invoking thread and one needs to be in order to execute the operation.

Most used methods

  • <init>
  • printStackTrace

Popular in Java

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • getResourceAsStream (ClassLoader)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • 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
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top 12 Jupyter Notebook extensions
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