net.sf.jmsmq
Class MSMQException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.sf.jmsmq.MSMQException
All Implemented Interfaces:
java.io.Serializable

public class MSMQException
extends java.lang.Exception

Class thrown when a native MSMQ exception occurs. Microsoft® Message Queuing Server

See Also:
Serialized Form

Constructor Summary
MSMQException(int hresult)
          Constructor of MSMQException.
MSMQException(int hresult, java.lang.String message)
          Constructor of MSMQException.
 
Method Summary
 int getHResult()
          Método que devuelve la propiedad hresult
 java.lang.String getLocalizedMessage()
           
 java.lang.String getMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MSMQException

public MSMQException(int hresult)
Constructor of MSMQException.

Parameters:
hresult - Return of the native function (HRESULT)

MSMQException

public MSMQException(int hresult,
                     java.lang.String message)
Constructor of MSMQException.

Parameters:
hresult - Return of the native function (HRESULT)
message - Error description for the HRESULT
Method Detail

getMessage

public java.lang.String getMessage()

getLocalizedMessage

public java.lang.String getLocalizedMessage()

toString

public java.lang.String toString()

getHResult

public int getHResult()
Método que devuelve la propiedad hresult

Returns:
int Devuelve la propiedad hresult.


Jorge Ruesga © 2006. All rigths reserved.