All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.ibole.infrastructure.common.exception.TechnicalException Maven / Gradle / Ivy

The newest version!
package com.github.ibole.infrastructure.common.exception;

/*********************************************************************************************.
 * 
 * 
 * 

Copyright 2016, iBole Inc. All rights reserved. * *

*********************************************************************************************/ /** * /** * {@link ErrorReporter} in RuntimeException form, for propagating technical error code information via exceptions. * @author bwang ([email protected]) * */ public class TechnicalException extends RuntimeException { /** * */ private static final long serialVersionUID = -4679245578049447461L; private final ErrorReporter errorReporter; public TechnicalException(ErrorReporter errorReporter) { this.errorReporter = errorReporter; } public static TechnicalException fromErrorReporter(ErrorReporter errorReporter){ return new TechnicalException(errorReporter); } /** * @return the errorReporter */ public ErrorReporter getErrorReporter() { return errorReporter; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy