fuego.papi.exception
Class CannotRetrieveInstanceAttachmentsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.AttachmentOperationException
fuego.papi.exception.CannotRetrieveInstanceAttachmentsException
- All Implemented Interfaces:
- Serializable
public class CannotRetrieveInstanceAttachmentsException
- extends AttachmentOperationException
A CannotRetrieveInstanceAttachmentsException
is thrown when something wrong
with getInstanceAttachments.
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
Method Summary |
String |
instanceId()
Return the instance identification where you wanted to get the attachemnts. |
Methods inherited from class fuego.lang.DefaultException |
getCode, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getUserMessage, hasDetail |
CannotRetrieveInstanceAttachmentsException
public CannotRetrieveInstanceAttachmentsException(String instanceId,
Throwable cause)
- To throw when the something wrong with getInstanceAttachments.
This constructor receives the cause and return as details the details of the given cause.
- Parameters:
instanceId
- Instance identification where you want to get the attachemnts.cause
- Initial exception.
instanceId
public String instanceId()
- Return the instance identification where you wanted to get the attachemnts.
- Returns:
- Instance identification.
© Copyright 1996/2005 Fuego Inc. All Rights Reserved