Class LambdaExceptionWrapper

  • All Implemented Interfaces:
    java.io.Serializable

    public class LambdaExceptionWrapper
    extends java.lang.RuntimeException
    An exception intended to be used within a lambda expression as checked exceptions cannot be used within lambdas.
    Author:
    Jeremy Long
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LambdaExceptionWrapper​(java.lang.Exception ex)
      Wraps an exception.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • LambdaExceptionWrapper

        public LambdaExceptionWrapper​(java.lang.Exception ex)
        Wraps an exception.
        Parameters:
        ex - the exception to wrap