|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.AttachmentOperationException
public class AttachmentOperationException
This exception can be thronw by any method who performs any operation over
an Attachment
.
ProcessServiceSession.checkInAttachment(Attachment, String, java.io.File)
,
ProcessServiceSession.checkOutAttachment(Attachment, String)
,
ProcessServiceSession.instanceAttach(InstanceInfo, String, String, String, java.io.File)
,
ProcessServiceSession.obtainEditionLock(Attachment)
,
ProcessServiceSession.releaseEditionLock(Attachment)
,
ProcessServiceSession.releaseEditionLock(Attachment, java.io.File)
,
Serialized FormConstructor Summary | |
---|---|
AttachmentOperationException()
just for serialization purposes |
|
AttachmentOperationException(fuego.resources.Msg errorMsg)
|
|
AttachmentOperationException(String attachmentId,
String attachmentName,
Throwable cause)
|
|
AttachmentOperationException(String attachmentId,
Throwable cause)
Construct the exception with the attachment identification where the operation failed. |
Method Summary | |
---|---|
String |
getAttachementId()
Return the attachemnt identification where the operation was executed and the exception was thrown. |
String |
getDetail(Locale locale)
This method return the detail of the exception. |
String |
getTechnicalDetail(Locale locale)
This method return the technical detail of the exception. |
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 |
---|
public AttachmentOperationException()
public AttachmentOperationException(fuego.resources.Msg errorMsg)
public AttachmentOperationException(String attachmentId, Throwable cause)
attachmentId
- Attachment identification where the operations failedpublic AttachmentOperationException(String attachmentId, String attachmentName, Throwable cause)
Method Detail |
---|
public String getAttachementId()
public String getDetail(Locale locale)
getDetail
in class fuego.lang.DefaultException
public String getTechnicalDetail(Locale locale)
getTechnicalDetail
in class fuego.lang.DefaultException
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |