FileDocCategorySizeDatePackage
JBossLocalXAException.javaAPI DocJBoss 4.2.13634Fri Jul 13 21:01:18 BST 2007org.jboss.resource.connectionmanager

JBossLocalXAException

public class JBossLocalXAException extends XAException implements org.jboss.util.NestedThrowable
JBossLocalXAException
author
David Jencks
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
private static final long
serialVersionUID
private final Throwable
t
Constructors Summary
public JBossLocalXAException()


    
   
      super();
      t = null;
   
public JBossLocalXAException(int errcode)

      super(errcode);
      t = null;
   
public JBossLocalXAException(String message)

      super(message);
      t = null;
   
public JBossLocalXAException(String message, int errorcode)

      super(message);
      this.errorCode = errorcode;
      t = null;
   
public JBossLocalXAException(String message, Throwable t)

      super(message);
      this.t = t;
   
public JBossLocalXAException(String message, int errorcode, Throwable t)

      super(message);
      this.errorCode = errorcode;
      this.t = t;
   
Methods Summary
public java.lang.ThrowablegetCause()

      return t;
   
public java.lang.StringgetMessage()
Returns the composite throwable message.

return
The composite throwable message.

      return NestedThrowable.Util.getMessage(super.getMessage(), t);
   
public java.lang.ThrowablegetNested()

      return t;
   
public voidprintStackTrace(java.io.PrintStream stream)
Prints the composite message and the embedded stack trace to the specified print stream.

param
stream Stream to print to.

      if (t == null || NestedThrowable.PARENT_TRACE_ENABLED)
         super.printStackTrace(stream);
      NestedThrowable.Util.print(t, stream);
   
public voidprintStackTrace(java.io.PrintWriter writer)
Prints the composite message and the embedded stack trace to the specified print writer.

param
writer Writer to print to.

      if (t == null || NestedThrowable.PARENT_TRACE_ENABLED)
         super.printStackTrace(writer);
      NestedThrowable.Util.print(t, writer);
   
public voidprintStackTrace()
Prints the composite message and the embedded stack trace to System.err.

      printStackTrace(System.err);