Example #1
0
 /// <summary>Sets the terrible failure handler, for testing.</summary>
 /// <remarks>Sets the terrible failure handler, for testing.</remarks>
 /// <returns>the old handler</returns>
 /// <hide></hide>
 internal static android.util.Log.TerribleFailureHandler setWtfHandler(android.util.Log
                                                                       .TerribleFailureHandler handler)
 {
     if (handler == null)
     {
         throw new System.ArgumentNullException("handler == null");
     }
     android.util.Log.TerribleFailureHandler oldHandler = sWtfHandler;
     sWtfHandler = handler;
     return(oldHandler);
 }
Example #2
0
		/// <summary>Sets the terrible failure handler, for testing.</summary>
		/// <remarks>Sets the terrible failure handler, for testing.</remarks>
		/// <returns>the old handler</returns>
		/// <hide></hide>
		internal static android.util.Log.TerribleFailureHandler setWtfHandler(android.util.Log
			.TerribleFailureHandler handler)
		{
			if (handler == null)
			{
				throw new System.ArgumentNullException("handler == null");
			}
			android.util.Log.TerribleFailureHandler oldHandler = sWtfHandler;
			sWtfHandler = handler;
			return oldHandler;
		}