Fuego Process API

fuego.papi.exception
Class InvalidAttachmentArgumentLengthException


java.lang.Object

  extended byjava.lang.Throwable

      extended byjava.lang.Exception

          extended byfuego.lang.DefaultException

              extended byfuego.papi.OperationException

                  extended byfuego.papi.AttachmentOperationException

                      extended byfuego.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

Field Summary
static int ATTACHMENT_DESCRIPTION
           
static int ATTACHMENT_FILENAME
           
static int ATTACHMENT_REMARK
           
 
Constructor Summary
InvalidAttachmentArgumentLengthException(String attachmentId, int argument)
          This contructor is used when you know the argument and the attachment identification.
 
Method Summary
 int getArgument()
          Argument that exceeds the limit of the length.
 
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, hasTechnicalDetail
 
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
 

Field Detail

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
Constructor Detail

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
Method Detail

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

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved