
info.freelibrary.util.UnsupportedOperationI18nException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of freelib-utils Show documentation
Show all versions of freelib-utils Show documentation
A small collection of utility classes
package info.freelibrary.util;
/**
* An I18n wrapper around UnsupportedOperationException
.
*/
public class UnsupportedOperationI18nException extends I18nRuntimeException {
/**
* The serialVersionUID
.
*/
private static final long serialVersionUID = 6127985353515098008L;
/**
* Creates a new UnsupportedOperationI18nException
.
*/
public UnsupportedOperationI18nException() {
super();
}
/**
* Creates a new UnsupportedOperationI18nException
.
*
* @param aMessage Details about the unsupported operation
*/
public UnsupportedOperationI18nException(final String aMessage) {
super(MessageCodes.BUNDLE, MessageCodes.UTIL_067, aMessage);
}
/**
* Creates a new UnsupportedOperationI18nException
from the supplied root cause.
*
* @param aCause The root cause of the exception
* @param aMessage Details about the unsupported operation
*/
public UnsupportedOperationI18nException(final Throwable aCause, final String aMessage) {
super(aCause, MessageCodes.BUNDLE, MessageCodes.UTIL_067, aMessage);
}
/**
* Creates a new I18nUnsupportedOperationsException
from the supplied root cause.
*
* @param aBundleName The name of a different message bundle
* @param aMessageKey A message key for the exception message
* @param aVarargs Additional details to be inserted into the exception message
*/
public UnsupportedOperationI18nException(final String aBundleName, final String aMessageKey,
final Object... aVarargs) {
super(aBundleName, aMessageKey, aVarargs);
}
/**
* Creates a new UnsupportedOperationI18nException
from the supplied root cause.
*
* @param aCause The root cause of the exception
* @param aBundleName The name of a different message bundle
* @param aMessageKey A message key for the exception message
* @param aVarargs Additional details to be inserted into the exception message
*/
public UnsupportedOperationI18nException(final Throwable aCause, final String aBundleName, final String aMessageKey,
final Object... aVarargs) {
super(aCause, aBundleName, aMessageKey, aVarargs);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy