Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.addrbook.msoutlook
Class MsOutlookMAPIHResultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.java.sip.communicator.plugin.addrbook.msoutlook.MsOutlookMAPIHResultException
All Implemented Interfaces:
Serializable

public class MsOutlookMAPIHResultException
extends Exception

Represents a specific Microsoft Outlook MAPI HRESULT as an Exception.

Author:
Lyubomir Marinov
See Also:
Serialized Form

Constructor Summary
MsOutlookMAPIHResultException(long hResult)
          Initializes a new MsOutlookMAPIHResultException instance which is to represent a specific HRESULT.
MsOutlookMAPIHResultException(long hResult, String message)
          Initializes a new MsOutlookMAPIHResultException instance which is to represent a specific HRESULT and to provide a specific String message.
MsOutlookMAPIHResultException(String message)
          Initializes a new MsOutlookMAPIHResultException instance with a specific String message.
 
Method Summary
 long getHResult()
          Gets the HRESULT which is represented by this Exception.
 
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
 

Constructor Detail

MsOutlookMAPIHResultException

public MsOutlookMAPIHResultException(long hResult)
Initializes a new MsOutlookMAPIHResultException instance which is to represent a specific HRESULT.

Parameters:
hResult - the HRESULT to be represented by the new instance

MsOutlookMAPIHResultException

public MsOutlookMAPIHResultException(long hResult,
                                     String message)
Initializes a new MsOutlookMAPIHResultException instance which is to represent a specific HRESULT and to provide a specific String message.

Parameters:
hResult - the HRESULT to be represented by the new instance
message - the String message to be provided by the new instance

MsOutlookMAPIHResultException

public MsOutlookMAPIHResultException(String message)
Initializes a new MsOutlookMAPIHResultException instance with a specific String message.

Parameters:
message - the String message to be provided by the new instance
Method Detail

getHResult

public long getHResult()
Gets the HRESULT which is represented by this Exception.

Returns:
the HRESULT which is represented by this Exception

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.