com.adobe.livecycle.output.exception
Class OutputException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.adobe.livecycle.output.exception.OutputException
All Implemented Interfaces:
java.io.Serializable

public class OutputException
extends java.lang.Exception

Represents common exception that are thrown by the Output service. This exception contains a result value which describes the problem in detail.

See Also:
Serialized Form

Constructor Summary
OutputException()
          Constructs a new exception with a null message and cause.
OutputException(java.lang.Exception e)
          Constructs a new exception.
OutputException(java.lang.String reason)
          Constructs a new exception with a given message.
OutputException(java.lang.String resourceID, java.util.logging.Level level, boolean log)
          A constructor that finds a string using resourceID and optional logs.
OutputException(java.lang.String resourceID, java.lang.String[] args, java.util.logging.Level level, boolean log)
          A constructor that finds a string using resourceID and merges arguments and optional logs.
OutputException(java.lang.String resourceID, java.lang.String[] args, java.util.logging.Level level, boolean log, java.lang.Throwable cause)
          Constructs a new exception.
OutputException(java.lang.String result, java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception.
OutputException(java.lang.String reason, java.lang.Throwable e)
          Constructs a new exception with a given message and cause.
 
Method Summary
 java.lang.String getResult()
          Describes the cause of the exception.
 void setResult(java.lang.String result)
          For internal use only.
 
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

OutputException

public OutputException()
Constructs a new exception with a null message and cause.

See Also:
Exception(java.lang.String, java.lang.Throwable)

OutputException

public OutputException(java.lang.Exception e)
Constructs a new exception.

Parameters:
e - An Exception object that represents the exception.

OutputException

public OutputException(java.lang.String reason)
Constructs a new exception with a given message.

Parameters:
reason - The detailed message.
See Also:
Exception(java.lang.String)

OutputException

public OutputException(java.lang.String reason,
                       java.lang.Throwable e)
Constructs a new exception with a given message and cause.

Parameters:
reason - The detail message.
e - The causing exception. Null is permitted.
See Also:
Exception(java.lang.String, java.lang.Throwable)

OutputException

public OutputException(java.lang.String result,
                       java.lang.String message,
                       java.lang.Throwable cause)
Constructs a new exception.


OutputException

public OutputException(java.lang.String resourceID,
                       java.util.logging.Level level,
                       boolean log)
A constructor that finds a string using resourceID and optional logs.


OutputException

public OutputException(java.lang.String resourceID,
                       java.lang.String[] args,
                       java.util.logging.Level level,
                       boolean log)
A constructor that finds a string using resourceID and merges arguments and optional logs.


OutputException

public OutputException(java.lang.String resourceID,
                       java.lang.String[] args,
                       java.util.logging.Level level,
                       boolean log,
                       java.lang.Throwable cause)
Constructs a new exception.

Method Detail

getResult

public java.lang.String getResult()
Describes the cause of the exception.

Returns:
A string value that describes the problem in detail.

setResult

public void setResult(java.lang.String result)
For internal use only. Do not use.