org.gcube.indexmanagement.common
Class IndexException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by org.apache.axis.AxisFault
                      extended by org.oasis.wsrf.faults.BaseFaultType
                          extended by org.gcube.common.core.faults.GCUBEFault
                              extended by org.gcube.indexmanagement.common.IndexException
All Implemented Interfaces:
Serializable

public class IndexException
extends org.gcube.common.core.faults.GCUBEFault

Exception used when the Index fails.

Author:
aardag
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.AxisFault
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode, log
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
IndexException()
          Default constructor.
IndexException(String message)
          Constructs with message.
IndexException(String message, Throwable causeIn)
          Constructs with message and exception.
IndexException(Throwable causeIn)
          Constructs with chained exception.
 
Method Summary
 Throwable getException()
          Retrieves nested exception.
 void printStackTrace()
          Print the stack trace to System.err.
 void printStackTrace(PrintStream ps)
          Print the stack trace to a print stream.
 void printStackTrace(PrintWriter pw)
          Print the stack trace to a print writer.
 
Methods inherited from class org.gcube.common.core.faults.GCUBEFault
equals, getDeserializer, getException, getFaultMessage, getFaultType, getSerializer, getTypeDesc, hashCode, remoteCause, setFaultMessage, setFaultType, toException, writeDetails
 
Methods inherited from class org.oasis.wsrf.faults.BaseFaultType
getDescription, getDescription, getErrorCode, getFaultCause, getFaultCause, getOriginator, getTimestamp, setDescription, setDescription, setErrorCode, setFaultCause, setFaultCause, setOriginator, setTimestamp
 
Methods inherited from class org.apache.axis.AxisFault
addFaultDetail, addFaultDetail, addFaultDetailString, addFaultSubCode, addFaultSubCodeAsString, addHeader, addHostname, addHostnameIfNeeded, clearFaultDetails, clearFaultSubCodes, clearHeaders, dump, dumpToString, getFaultActor, getFaultCode, getFaultDetails, getFaultNode, getFaultReason, getFaultRole, getFaultString, getFaultSubCodes, getHeaders, initFaultSubCodes, lookupFaultDetail, makeFault, output, removeFaultDetail, removeHostname, setFaultActor, setFaultCode, setFaultCode, setFaultCodeAsString, setFaultDetail, setFaultDetailString, setFaultNode, setFaultReason, setFaultRole, setFaultString, toString
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexException

public IndexException()
Default constructor.


IndexException

public IndexException(String message)
Constructs with message.

Parameters:
message - - The message to throw in the exception

IndexException

public IndexException(Throwable causeIn)
Constructs with chained exception.

Parameters:
causeIn - - The throwable cause in the exception.

IndexException

public IndexException(String message,
                      Throwable causeIn)
Constructs with message and exception.

Parameters:
message - - the message in the exception.
causeIn - - the cause in the exception.
Method Detail

getException

public final Throwable getException()
Retrieves nested exception.

Returns:
- the cause.

printStackTrace

public final void printStackTrace()
Print the stack trace to System.err.

Overrides:
printStackTrace in class Throwable

printStackTrace

public final void printStackTrace(PrintStream ps)
Print the stack trace to a print stream.

Overrides:
printStackTrace in class org.apache.axis.AxisFault
Parameters:
ps - - the print stream.

printStackTrace

public void printStackTrace(PrintWriter pw)
Print the stack trace to a print writer.

Overrides:
printStackTrace in class org.apache.axis.AxisFault
Parameters:
pw - - the print writer.


Copyright © 2012. All Rights Reserved.