net.sf.jmsmq
Class MSMQException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.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. |
| 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 |
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
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.