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

com.github.thorbenkuck.netcom2.exceptions.NetComException Maven / Gradle / Ivy

package com.github.thorbenkuck.netcom2.exceptions;

/**
 * This Exception is the super-Exception for any non-runtime Exception within NetCom2.
 * 

* So, if you want, you can simply catch this Exception, if multiple Exceptions are thrown anywhere. *

* You can't, however, access a custom NetComException! The Constructors of this Exception are package-private * so that only Exceptions defined within this package are NetComExceptions. * * @version 1.0 * @since 1.0 */ public abstract class NetComException extends Exception { /** * {@inheritDoc} */ NetComException(final String message) { super(message); } /** * {@inheritDoc} */ NetComException(final Throwable throwable) { super(throwable); } /** * {@inheritDoc} */ NetComException(final String message, final Throwable throwable) { super(message, throwable); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy