Back to project page anluwage.
The source code is released under:
GNU General Public License
If you think the Android project anluwage listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.sudocode.content.provider.api.exception; // w w w .j a v a2 s. co m import android.util.AndroidRuntimeException; import com.sudocode.android.commons.helper.ExceptionMessageExtractor; /** * Created by RM on 1/26/14. */ public class AnnotationBasedProviderRuntimeException extends AndroidRuntimeException { private static final long serialVersionUID = -1667843146796344691L; public AnnotationBasedProviderRuntimeException() { } public AnnotationBasedProviderRuntimeException(String name) { super(name); } public AnnotationBasedProviderRuntimeException(String name, Throwable cause) { super(new StringBuilder() .append(name) .append(": ") .append(new ExceptionMessageExtractor().extractMessage(cause)) .toString()); } public AnnotationBasedProviderRuntimeException(Exception cause) { super(cause); } }