Class ErrorMappingException

All Implemented Interfaces:
Serializable

public class ErrorMappingException
extends RuntimeException
Handy class for wrapping runtime Exceptions with a root cause.
See Also:
Throwable.getMessage(), Throwable.printStackTrace(), Serialized Form
  • Constructor Details

    • ErrorMappingException

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

      public ErrorMappingException​(String message)
      Construct a new ErrorMappingException with the specified detail message.
      Parameters:
      message - the detail message
    • ErrorMappingException

      public ErrorMappingException​(Throwable cause)
      Construct a new ErrorMappingException with the cause.
      Parameters:
      cause - the root cause
    • ErrorMappingException

      public ErrorMappingException​(String message, Throwable cause)
      Construct a new ErrorMappingException with the specified detail message and root cause.
      Parameters:
      message - the detail message
      cause - the root cause