ALBPM Process API

fuego.papi.exception
Class CheckOutAttachmentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fuego.lang.DefaultException
              extended by fuego.papi.OperationException
                  extended by fuego.papi.AttachmentOperationException
                      extended by fuego.papi.exception.CheckOutAttachmentException
All Implemented Interfaces:
Serializable

public class CheckOutAttachmentException
extends AttachmentOperationException

A CheckOutAttachmentException is thrown as result an attempt to make a check-out of an attachment. WARNING!: this exception over-write the getDetail* and use allways the details given by the cause. Don't add any constructor to this class without taking that in account.

See Also:
Serialized Form

Constructor Summary
CheckOutAttachmentException(String attachmentId, Throwable cause)
          To throw when the checkOut of an attachment fail.
 
Method Summary
 
Methods inherited from class fuego.papi.AttachmentOperationException
getAttachementId, getDetail, getTechnicalDetail
 
Methods inherited from class fuego.papi.OperationException
wrap
 
Methods inherited from class fuego.lang.DefaultException
getCode, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getUserMessage, hasDetail
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckOutAttachmentException

public CheckOutAttachmentException(String attachmentId,
                                   Throwable cause)
To throw when the checkOut of an attachment fail. This constructor receives the cause and return as details the details of the given cause.

Parameters:
attachmentId - Attachment identification that failed in the checkOut.
cause - Initial exception.

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved