Created
July 4, 2019 08:53
-
-
Save ggluta/b6abfa48c5353dfab964027f074f2097 to your computer and use it in GitHub Desktop.
A wrapper for exceptions occuring while converting to JSON (see JsonConversion class)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nl.abnamro.ignition.api.common.util; | |
/** | |
* | |
* | |
* A wrapper for exceptions occuring while converting to JSON | |
* | |
* | |
*/ | |
public final class JsonConversionException extends RuntimeException { | |
/** | |
* Handles all exceptions occurred while converting to JSON | |
* @param message : custom message based on exception | |
* @param throwable: exception from parent class | |
*/ | |
public JsonConversionException(String message,Throwable throwable) { | |
super(message,throwable); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment