org.jboss.jca.core.spi.transaction.local

## Class LocalResourceException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - javax.resource.ResourceException
      - - org.jboss.jca.core.spi.transaction.local.LocalResourceException

- All Implemented Interfaces:
    java.io.Serializable

      public class LocalResourceException
      extends javax.resource.ResourceException

  LocalResourceException.

  Throwing this exception from your `LocalTransaction.commit()` or `LocalTransaction.rollback()` methods will result in a `XAException.XAER_RMFAIL` error code being sent to the transaction manager
  Author:
    Jesper Pedersen
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocalResourceException(java.lang.String message)` Creates a new instance.
    `LocalResourceException(java.lang.String message, java.lang.Throwable t)` Creates a new instance.

  - ### Method Summary

    - ### Methods inherited from class javax.resource.ResourceException

      `getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### LocalResourceException

          public LocalResourceException(java.lang.String message)

      Creates a new instance.
      Parameters:
        `message` - message

    - #### LocalResourceException

          public LocalResourceException(java.lang.String message,
                                        java.lang.Throwable t)

      Creates a new instance.
      Parameters:
        `message` - message
        `t` - cause

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)