Package com.identityworksllc.iiq.common
Class PairedGeneralException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- sailpoint.tools.AbstractLocalizableException
 - 
- sailpoint.tools.GeneralException
 - 
- com.identityworksllc.iiq.common.PairedGeneralException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable,sailpoint.tools.Localizable
public class PairedGeneralException extends sailpoint.tools.GeneralException
This exception is to be used whenever an exception is caught inside of a catch block.It will display details of both exceptions on printStackTrace and other methods.
This particular version extends GeneralException in order to allow throwing via Sailpoint’s API. All methods are delegated to an internal
PairedException.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PairedGeneralException(String message, Throwable t1, Throwable t2)PairedGeneralException(Throwable t1, Throwable t2)Constructs a new PairedException from the two throwables 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablefillInStackTrace()ThrowablegetCause()StringgetLocalizedMessage()StringgetMessage()ThrowablegetSecondCause()Gets the parent of the second exceptionStackTraceElement[]getSecondStackTrace()Gets the second stack traceStackTraceElement[]getStackTrace()ThrowableinitCause(Throwable cause)voidprintStackTrace()voidprintStackTrace(PrintStream s)voidprintStackTrace(PrintWriter s)voidsetStackTrace(StackTraceElement[] stackTrace)StringtoString()- 
Methods inherited from class sailpoint.tools.GeneralException
breakpoint, checkBreakpoint, enableBreakpoint 
- 
Methods inherited from class sailpoint.tools.AbstractLocalizableException
getDetailedError, getLocalizedMessage, getMessageInstance, getPossibleSuggestion, setDetailedError, setLocalizedMessage, setPossibleSuggestion 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, getSuppressed 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
PairedGeneralException
public PairedGeneralException(Throwable t1, Throwable t2)
Constructs a new PairedException from the two throwables- Parameters:
 t1- The first throwablet2- The second throwable
 
- 
PairedGeneralException
public PairedGeneralException(String message, Throwable t1, Throwable t2)
 
 - 
 
- 
Method Detail
- 
fillInStackTrace
public Throwable fillInStackTrace()
- Overrides:
 fillInStackTracein classThrowable
 
- 
getLocalizedMessage
public String getLocalizedMessage()
- Specified by:
 getLocalizedMessagein interfacesailpoint.tools.Localizable- Overrides:
 getLocalizedMessagein classsailpoint.tools.AbstractLocalizableException
 
- 
getMessage
public String getMessage()
- Overrides:
 getMessagein classsailpoint.tools.AbstractLocalizableException
 
- 
getSecondCause
public Throwable getSecondCause()
Gets the parent of the second exception- Returns:
 - The stack trace for the second exception, via 
PairedException.getSecondCause()()} 
 
- 
getSecondStackTrace
public StackTraceElement[] getSecondStackTrace()
Gets the second stack trace- Returns:
 - The stack trace for the second exception, via 
PairedException.getSecondStackTrace() 
 
- 
getStackTrace
public StackTraceElement[] getStackTrace()
- Overrides:
 getStackTracein classThrowable
 
- 
printStackTrace
public void printStackTrace(PrintWriter s)
- Overrides:
 printStackTracein classThrowable
 
- 
printStackTrace
public void printStackTrace()
- Overrides:
 printStackTracein classThrowable
 
- 
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
 printStackTracein classThrowable
 
- 
setStackTrace
public void setStackTrace(StackTraceElement[] stackTrace)
- Overrides:
 setStackTracein classThrowable
 
 - 
 
 -