android-ibc-forum

Unnamed repository; edit this file 'description' to name the repository.
git clone http://git.code.weiherhei.de/android-ibc-forum.git
Log | Files | Refs

IBCException.java (499B)


      1 /**
      2  * 
      3  */
      4 package de.mtbnews.android.util;
      5 
      6 /**
      7  * 
      8  * @author dankert
      9  * 
     10  */
     11 public class IBCException extends Exception
     12 {
     13 
     14 	private int errorResId;
     15 
     16 	/**
     17 	 * @param errorResId
     18 	 *            Resource-Id der Fehlermeldung
     19 	 * @param detailMessage
     20 	 * @param cause
     21 	 */
     22 	public IBCException(int errorResId, String detailMessage, Throwable cause)
     23 	{
     24 		super(detailMessage, cause);
     25 		this.errorResId = errorResId;
     26 
     27 	}
     28 
     29 	/**
     30 	 * @return
     31 	 */
     32 	public int getErrorResId()
     33 	{
     34 		return errorResId;
     35 	}
     36 }