fuego.papi.exception
Class InvalidAttachmentArgumentLengthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
fuego.papi.OperationException
fuego.papi.AttachmentOperationException
fuego.papi.exception.InvalidAttachmentArgumentLengthException
- All Implemented Interfaces:
- Serializable
public class InvalidAttachmentArgumentLengthException
- extends AttachmentOperationException
This exception is thrown when any argument of the attachment exceeds
the limit of the argument length.
- See Also:
- Serialized Form
Method Summary |
int |
getArgument()
Argument that exceeds the limit of the length. |
Methods inherited from class fuego.lang.DefaultException |
getCode, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getUserMessage, hasDetail |
ATTACHMENT_FILENAME
public static final int ATTACHMENT_FILENAME
- See Also:
- Constant Field Values
ATTACHMENT_REMARK
public static final int ATTACHMENT_REMARK
- See Also:
- Constant Field Values
ATTACHMENT_DESCRIPTION
public static final int ATTACHMENT_DESCRIPTION
- See Also:
- Constant Field Values
ATTACHMENT_EXTERNALID
public static final int ATTACHMENT_EXTERNALID
- See Also:
- Constant Field Values
InvalidAttachmentArgumentLengthException
public InvalidAttachmentArgumentLengthException(String attachmentId,
int argument)
- This contructor is used when you know the argument and the attachment identification.
- Parameters:
attachmentId
- Attachment identification where the argument exceeded the limit of the length.argument
- Argument that exceeds the limit of the length.
fuego.papi.exception.InvalidAttachmentArgumentLengthException.ATTACHMENT_FILENAME
fuego.papi.exception.InvalidAttachmentArgumentLengthException.ATTACHMENT_REMARK
fuego.papi.exception.InvalidAttachmentArgumentLengthException.ATTACHMENT_DESCRIPTION
getArgument
public int getArgument()
- Argument that exceeds the limit of the length.
- Returns:
- fuego.papi.exception.InvalidAttachmentArgumentLengthException.ATTACHMENT_FILENAME
fuego.papi.exception.InvalidAttachmentArgumentLengthException.ATTACHMENT_REMARK
fuego.papi.exception.InvalidAttachmentArgumentLengthException.ATTACHMENT_DESCRIPTION
© Copyright 1996/2005 Fuego Inc. All Rights Reserved