public String getMessage(){
		String text="";
		switch(type){
		case Error: text+="[Error]";
		break;
		case Warning: text+="[Warning]";
		break;
		case Report: text+="[Info]";
		break;
		}
		if(!message.isEmpty())
			text+="   "+message+"\n";
		if(excpetion!=null)
			text+=excpetion.getMessage();
		return text;
	}