00001 /* 00002 * ResourceUnavailableException.java 00003 * 00004 * Created on January 12, 2009, 3:44 PM 00005 * 00006 * Copyright 2009 Online Nederland Breedband B.V. 00007 * See the COPYRIGHT file for redistribution and use restrictions. 00008 * Authors: Guillermo Christen <guillermo.christen@is.online.nl> 00009 */ 00010 package dochelper.exceptions; 00011 00021 public class ResourceUnavailableException extends RuntimeException { 00022 00024 public ResourceUnavailableException() { 00025 } 00026 00027 private String _originalError = ""; 00028 00032 public ResourceUnavailableException(String originalError) { 00033 _originalError = originalError; 00034 } 00035 00039 public ResourceUnavailableException(Exception e) { 00040 super(e); 00041 _originalError = ""; 00042 } 00043 00044 00051 public String getMessage() { 00052 return _originalError; 00053 } 00054 00055 }