blob: 7ed724c80dbcb88fd8c4bb2a8363d7a0315d1d40 [file] [log] [blame]
/*
******************************************************************************
* Copyright (C) 2004, International Business Machines Corporation and *
* others. All Rights Reserved. *
******************************************************************************
*/
package com.ibm.icu.util;
/**
* Exception thrown when the requested resource type
* is not the same type as the available resource
* @author ram
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
*/
public class UResourceTypeMismatchException extends RuntimeException {
/**
* Constuct the exception with the given message
* @param msg the error message for this exception
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
*/
public UResourceTypeMismatchException(String msg){
super(msg);
}
/*
* Returns the error message stored in this exception
* @return String the error message string
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
*
public String toString(){
return message;
}
*/
}