Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.util.Log;

public class Main {
    public static void error(String paramString) {
        Log.e("WLDroidGap", getMsgNotNull(paramString));
    }

    public static void error(String paramString, Throwable paramThrowable) {
        Log.e("WLDroidGap", getMsgNotNull(paramString), paramThrowable);
    }

    private static String getMsgNotNull(String paramString) {
        if (paramString == null)
            paramString = "null";
        return paramString;
    }
}