Oracle

com.compoze.domino
Class DominoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.compoze.util.NestedException
              extended by com.compoze.domino.DominoException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AppointmentCancellationException, AppointmentConfirmationException, AttachmentSizeLimitException, ChairNotPermittedException, CounterException, DelegateException, DominoACLException, FolderAlreadyExistsException, InstanceNotFoundException, NoMailboxException, PropertyValue.PropertyValueNullException, UserPasswordException

public class DominoException
extends NestedException
implements java.io.Serializable

This class is an exception that wraps any exceptions thrown in Domino.

See Also:
Serialized Form

Constructor Summary
DominoException()
          Constructor.
DominoException(java.lang.Exception e)
          Constructor.
DominoException(java.lang.Exception e, java.lang.String sMessage)
          Constructor.
DominoException(java.lang.String sMessage)
          Constructor.
DominoException(java.lang.String sMessage, long lResultCode)
          Constructor.
DominoException(java.lang.Throwable t)
          Constructor.
DominoException(java.lang.Throwable t, java.lang.String sMessage)
          Constructor.
DominoException(java.lang.Throwable t, java.lang.String sMessage, java.lang.String sUserMessage)
          Constructor.
 
Method Summary
 ResultCode getResultCode()
          Gets the result error code for this exception.
 java.lang.String getUserMessage()
          Gets a message suitable for display to the user.
 
Methods inherited from class com.compoze.util.NestedException
getNestedException, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DominoException

public DominoException()
Constructor.


DominoException

public DominoException(java.lang.String sMessage)
Constructor.

Parameters:
sMessage - a detail message for the exception

DominoException

public DominoException(java.lang.String sMessage,
                       long lResultCode)
Constructor.

Parameters:
sMessage - a detail message for the exception
lResultCode - the result code

DominoException

public DominoException(java.lang.Exception e)
Constructor.

Parameters:
e - the underlying exception

DominoException

public DominoException(java.lang.Exception e,
                       java.lang.String sMessage)
Constructor.

Parameters:
e - the underlying exception
sMessage - a detail message for the exception

DominoException

public DominoException(java.lang.Throwable t)
Constructor.

Parameters:
t - the underlying throwable

DominoException

public DominoException(java.lang.Throwable t,
                       java.lang.String sMessage)
Constructor.

Parameters:
t - the underlying throwable
sMessage - a detail message for the exception

DominoException

public DominoException(java.lang.Throwable t,
                       java.lang.String sMessage,
                       java.lang.String sUserMessage)
Constructor.

Parameters:
t - the underlying throwable
sMessage - a detail message for the exception
sUserMessage - a message suitable for display to the user
Method Detail

getUserMessage

public java.lang.String getUserMessage()
Gets a message suitable for display to the user.

Returns:
the error message

getResultCode

public ResultCode getResultCode()
Gets the result error code for this exception.

Returns:
the result code

Oracle

Copyright ©1999-2008 Oracle All rights reserved.