com.jacob.com
Class ComException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.jacob.com.JacobException
                  extended by com.jacob.com.ComException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ComFailException

public abstract class ComException
extends JacobException

Standard exception thrown by com jni code when there is a problem

See Also:
Serialized Form

Field Summary
protected  int hr
          COM code initializes this filed with an appropriate return code that was returned by the underlying com code
protected  int m_helpContext
          No documentation is available at this time.
protected  String m_helpFile
          No documentation is available at this time.
protected  String m_source
          No documentation is available at this time.
 
Constructor Summary
ComException()
          constructor
ComException(int newHr)
          constructor with error code?
ComException(int newHr, String description)
           
ComException(int newHr, String source, String helpFile, int helpContext)
           
ComException(int newHr, String description, String source, String helpFile, int helpContext)
           
ComException(String description)
           
 
Method Summary
 int getHelpContext()
           
 String getHelpFile()
           
 int getHResult()
           
 String getSource()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hr

protected int hr
COM code initializes this filed with an appropriate return code that was returned by the underlying com code


m_helpContext

protected int m_helpContext
No documentation is available at this time. Someone should document this field


m_helpFile

protected String m_helpFile
No documentation is available at this time. Someone should document this field


m_source

protected String m_source
No documentation is available at this time. Someone should document this field

Constructor Detail

ComException

public ComException()
constructor


ComException

public ComException(int newHr)
constructor with error code?

Parameters:
newHr - ??

ComException

public ComException(int newHr,
                    String description)
Parameters:
newHr -
description -

ComException

public ComException(int newHr,
                    String source,
                    String helpFile,
                    int helpContext)
Parameters:
newHr -
source -
helpFile -
helpContext -

ComException

public ComException(int newHr,
                    String description,
                    String source,
                    String helpFile,
                    int helpContext)
Parameters:
newHr -
description -
source -
helpFile -
helpContext -

ComException

public ComException(String description)
Parameters:
description -
Method Detail

getHelpContext

public int getHelpContext()
Returns:
int representation of the help context

getHelpFile

public String getHelpFile()
Returns:
String ??? help file

getHResult

public int getHResult()
Returns:
int hr result ??

getSource

public String getSource()
Returns:
String source ??


http://jacob-project.sourceforge.net