public class

ICUCloneNotSupportedException

extends ICUException

 java.lang.Object

↳java.lang.Throwable

↳java.lang.Exception

↳java.lang.RuntimeException

androidx.core.i18n.messageformat_icu.util.ICUException

↳androidx.core.i18n.messageformat_icu.util.ICUCloneNotSupportedException

Gradle dependencies

compile group: 'androidx.core', name: 'core-i18n', version: '1.0.0-alpha01'

  • groupId: androidx.core
  • artifactId: core-i18n
  • version: 1.0.0-alpha01

Artifact androidx.core:core-i18n:1.0.0-alpha01 it located at Google repository (https://maven.google.com/)

Overview

Unchecked version of java.lang.CloneNotSupportedException. Some ICU APIs do not throw the standard exception but instead wrap it into this unchecked version. icu_annot::draft ICU 53 icu_annot::provisional This API might change or be removed in a future release.

Summary

Constructors
publicICUCloneNotSupportedException()

Default constructor.

publicICUCloneNotSupportedException(java.lang.String message)

Constructor.

publicICUCloneNotSupportedException(java.lang.String message, java.lang.Throwable cause)

Constructor.

publicICUCloneNotSupportedException(java.lang.Throwable cause)

Constructor.

Methods
from java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructors

public ICUCloneNotSupportedException()

Default constructor. icu_annot::draft ICU 53 icu_annot::provisional This API might change or be removed in a future release.

public ICUCloneNotSupportedException(java.lang.String message)

Constructor.

Parameters:

message: exception message string icu_annot::draft ICU 53 icu_annot::provisional This API might change or be removed in a future release.

public ICUCloneNotSupportedException(java.lang.Throwable cause)

Constructor.

Parameters:

cause: original exception (normally a java.lang.CloneNotSupportedException) icu_annot::draft ICU 53 icu_annot::provisional This API might change or be removed in a future release.

public ICUCloneNotSupportedException(java.lang.String message, java.lang.Throwable cause)

Constructor.

Parameters:

message: exception message string
cause: original exception (normally a java.lang.CloneNotSupportedException) icu_annot::draft ICU 53 icu_annot::provisional This API might change or be removed in a future release.

Source

/*
 *******************************************************************************
 * Copyright (C) 2014, International Business Machines Corporation and
 * others. All Rights Reserved.
 *******************************************************************************
 */
package androidx.core.i18n.messageformat_icu.util;

import androidx.annotation.RestrictTo;

/**
 * Unchecked version of {@link CloneNotSupportedException}.
 * Some ICU APIs do not throw the standard exception but instead wrap it
 * into this unchecked version.
 *
 * icu_annot::draft ICU 53
 * icu_annot::provisional This API might change or be removed in a future release.
 */
@RestrictTo(RestrictTo.Scope.LIBRARY)
public class ICUCloneNotSupportedException extends ICUException {
    private static final long serialVersionUID = -4824446458488194964L;

    /**
     * Default constructor.
     *
     * icu_annot::draft ICU 53
     * icu_annot::provisional This API might change or be removed in a future release.
     */
    public ICUCloneNotSupportedException() {
    }

    /**
     * Constructor.
     *
     * @param message exception message string
     * icu_annot::draft ICU 53
     * icu_annot::provisional This API might change or be removed in a future release.
     */
    public ICUCloneNotSupportedException(String message) {
        super(message);
    }

    /**
     * Constructor.
     *
     * @param cause original exception (normally a {@link CloneNotSupportedException})
     * icu_annot::draft ICU 53
     * icu_annot::provisional This API might change or be removed in a future release.
     */
    public ICUCloneNotSupportedException(Throwable cause) {
        super(cause);
    }

    /**
     * Constructor.
     *
     * @param message exception message string
     * @param cause original exception (normally a {@link CloneNotSupportedException})
     * icu_annot::draft ICU 53
     * icu_annot::provisional This API might change or be removed in a future release.
     */
    public ICUCloneNotSupportedException(String message, Throwable cause) {
        super(message, cause);
    }
}