Package com.helger.as2lib.processor
Class AS2ProcessorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.helger.as2lib.exception.AS2Exception
-
- com.helger.as2lib.processor.AS2ProcessorException
-
- All Implemented Interfaces:
Serializable
public class AS2ProcessorException extends AS2Exception
An exception thrown the anIMessageProcessorhas caught exceptions.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AS2ProcessorException(IMessageProcessor aProcessor, List<? extends AS2Exception> aCauses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.helger.commons.collection.impl.ICommonsList<AS2Exception>getAllCauses()Get all causes.
Note: before v4.10.0 this was a list of ThrowableStringgetMessage()StringgetMessage(boolean bAddStackTrace)IMessageProcessorgetProcessor()StringgetShortToString()-
Methods inherited from class com.helger.as2lib.exception.AS2Exception
getSourceMsg, log, log, setSourceMsg, terminate, terminate, terminate
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AS2ProcessorException
public AS2ProcessorException(@Nonnull IMessageProcessor aProcessor, @Nonnull @Nonempty List<? extends AS2Exception> aCauses)
-
-
Method Detail
-
getProcessor
@Nonnull public final IMessageProcessor getProcessor()
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getAllCauses
@Nonnull @Nonempty @ReturnsMutableCopy public final com.helger.commons.collection.impl.ICommonsList<AS2Exception> getAllCauses()
Get all causes.
Note: before v4.10.0 this was a list of Throwable- Returns:
- A list of all causing exceptions. Never
nullnor empty.
-
-