com.adobe.icc.dbforms.exceptions
Class ICCException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.adobe.icc.dbforms.exceptions.ICCException
All Implemented Interfaces:
java.io.Serializable

public class ICCException
extends java.lang.RuntimeException

Exception class for any exceptions or errors during processing within the Asset Composer Building Block.

See Also:
Serialized Form

Constructor Summary
ICCException()
          Default constructor.
ICCException(java.lang.String message)
          Throw exception with message given.
ICCException(java.lang.String resourceID, int severity)
          A constructor that finds a string using resourceID and logs.
ICCException(java.lang.String resourceID, int severity, boolean log)
          A constructor that finds a string using resourceID and optional logs
ICCException(java.lang.String resourceID, int severity, boolean log, java.lang.Throwable cause)
          A constructor that finds a string using resourceID and optional logs
ICCException(java.lang.String resourceID, int severity, java.lang.Throwable cause)
          A constructor that finds a string using resourceID and logs.
ICCException(java.lang.String resourceID, java.lang.String[] args, int severity)
          A constructor that finds a string using resourceID and merges arguments and logs.
ICCException(java.lang.String resourceID, java.lang.String[] args, int severity, boolean log)
          A constructor that finds a string using resourceID and merges arguments and optional logs
ICCException(java.lang.String resourceID, java.lang.String[] args, int severity, boolean log, java.lang.Throwable cause)
          A constructor that finds a string using resourceID and merges arguments and optional logs
ICCException(java.lang.String resourceID, java.lang.String[] args, int severity, java.lang.Throwable cause)
          A constructor that finds a string using resourceID and merges arguments and logs.
ICCException(java.lang.String message, java.lang.Throwable cause)
          Throw exception with cause and custom message.
ICCException(java.lang.Throwable cause)
          Throw exception with cause throwable object.
 
Method Summary
 java.lang.String[] getMessageArgs()
           
 java.lang.String getMessageCode()
           
 void setMessageArgs(java.lang.String[] messageArgs)
           
 void setMessageCode(java.lang.String messageCode)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ICCException

public ICCException()
Default constructor.


ICCException

public ICCException(java.lang.String message)
Throw exception with message given.

Parameters:
message - text of message.

ICCException

public ICCException(java.lang.Throwable cause)
Throw exception with cause throwable object.

Parameters:
cause - cause of exception.

ICCException

public ICCException(java.lang.String message,
                    java.lang.Throwable cause)
Throw exception with cause and custom message.

Parameters:
message - text of message.
cause - cause of exception.

ICCException

public ICCException(java.lang.String resourceID,
                    int severity,
                    boolean log,
                    java.lang.Throwable cause)
A constructor that finds a string using resourceID and optional logs

Parameters:
resourceID - key of message.
severity - severity of message.
log - whether to log the message.
cause - cause of the exception.

ICCException

public ICCException(java.lang.String resourceID,
                    java.lang.String[] args,
                    int severity,
                    boolean log,
                    java.lang.Throwable cause)
A constructor that finds a string using resourceID and merges arguments and optional logs

Parameters:
resourceID - key of message.
args - array containing value of place holders.
severity - severity of message.
log - whether to log the message.
cause - cause of the exception.

ICCException

public ICCException(java.lang.String resourceID,
                    int severity,
                    boolean log)
A constructor that finds a string using resourceID and optional logs

Parameters:
resourceID - key of message.
severity - severity of message.
log - whether to log the message.

ICCException

public ICCException(java.lang.String resourceID,
                    java.lang.String[] args,
                    int severity,
                    boolean log)
A constructor that finds a string using resourceID and merges arguments and optional logs

Parameters:
resourceID - key of message.
args - array containing value of place holders.
severity - severity of message.
log - whether to log the message.

ICCException

public ICCException(java.lang.String resourceID,
                    int severity)
A constructor that finds a string using resourceID and logs.

Parameters:
resourceID - key of message.
severity - severity of message.

ICCException

public ICCException(java.lang.String resourceID,
                    java.lang.String[] args,
                    int severity)
A constructor that finds a string using resourceID and merges arguments and logs.

Parameters:
resourceID - key of message.
args - array containing value of place holders.
severity - severity of message.

ICCException

public ICCException(java.lang.String resourceID,
                    int severity,
                    java.lang.Throwable cause)
A constructor that finds a string using resourceID and logs.

Parameters:
resourceID - key of message.
severity - severity of message.
cause - cause of the exception.

ICCException

public ICCException(java.lang.String resourceID,
                    java.lang.String[] args,
                    int severity,
                    java.lang.Throwable cause)
A constructor that finds a string using resourceID and merges arguments and logs.

Parameters:
resourceID - key of message.
args - array containing value of place holders.
severity - severity of message.
cause - cause of the exception.
Method Detail

getMessageArgs

public java.lang.String[] getMessageArgs()
Returns:
the messageArgs

setMessageArgs

public void setMessageArgs(java.lang.String[] messageArgs)
Parameters:
messageArgs - the messageArgs to set

getMessageCode

public java.lang.String getMessageCode()
Returns:
the messageCode

setMessageCode

public void setMessageCode(java.lang.String messageCode)
Parameters:
messageCode - the messageCode to set


[an error occurred while processing this directive] [an error occurred while processing this directive]