Class ErrorMappingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.vality.adapter.common.v2.exception.ErrorMappingException
All Implemented Interfaces:
Serializable

public class ErrorMappingException extends RuntimeException
Handy class for wrapping runtime Exceptions with a root cause.
See Also:
  • 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