blob: f6e08054f0e3b92a5e4511481ffed1d9e3fc5484 [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
*/
public class UResourceTypeMismatchException extends RuntimeException {
private String message;
/**
* Constuct the exception with the given message
* @param msg the error message for this exception
* @draft ICU 3.0
*/
public UResourceTypeMismatchException(String msg){
message = msg;
}
/**
* Returns the error message stored in this exception
* @return String the error message string
* @draft ICU 3.0
*/
public String toString(){
return message;
}
}