com.endeca.infront.assembler
Class AssemblerException

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

public class AssemblerException
extends Exception

Indicates that an exception occurred while creating or processing an assembler request. Exceptions of this type indicate that the entire assembly process was terminated.

See Also:
AssemblerFactory.createAssembler(), Assembler.assemble(ContentItem), Serialized Form

Constructor Summary
AssemblerException()
          Constructs a new AssemblerException with null as its detail message.
AssemblerException(String pMessage)
          Constructs a new AssemblerException with the specified detail message.
AssemblerException(String pMessage, Throwable pCause)
          Constructs a new AssemblerException with the specified detail message and cause.
AssemblerException(Throwable pCause)
          Constructs a new AssemblerException 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

AssemblerException

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


AssemblerException

public AssemblerException(String pMessage)
Constructs a new AssemblerException 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).

AssemblerException

public AssemblerException(Throwable pCause)
Constructs a new AssemblerException 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 AssemblerException.

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.)

AssemblerException

public AssemblerException(String pMessage,
                          Throwable pCause)
Constructs a new AssemblerException 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.