com.endeca.infront.assembler
Class CartridgeHandlerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.endeca.infront.assembler.CartridgeHandlerException
All Implemented Interfaces:
Serializable

public class CartridgeHandlerException
extends Exception

Indicates that an exception occurred while invoking a single cartridge handler. This exception will not terminate the entire assembly process.

See Also:
CartridgeHandler.initialize(ContentItem), CartridgeHandler.preprocess(ContentItem), CartridgeHandler.process(ContentItem), Serialized Form

Constructor Summary
CartridgeHandlerException()
          Constructs a new CartridgeHandlerException with null as its detail message.
CartridgeHandlerException(String pMessage)
          Constructs a new CartridgeHandlerException with the specified detail message.
CartridgeHandlerException(String pMessage, Throwable pCause)
          Constructs a new CartridgeHandlerException with the specified detail message and cause.
CartridgeHandlerException(Throwable pCause)
          Constructs a new CartridgeHandlerException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CartridgeHandlerException

public CartridgeHandlerException()
Constructs a new CartridgeHandlerException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).


CartridgeHandlerException

public CartridgeHandlerException(String pMessage)
Constructs a new CartridgeHandlerException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).

Parameters:
pMessage - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).

CartridgeHandlerException

public CartridgeHandlerException(Throwable pCause)
Constructs a new CartridgeHandlerException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for wrapping other exceptions in an CartridgeHandlerException.

Parameters:
pCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

CartridgeHandlerException

public CartridgeHandlerException(String pMessage,
                                 Throwable pCause)
Constructs a new CartridgeHandlerException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated into this exception's detail message.

Parameters:
pMessage - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
pCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.