Back to project page Dumbledroid.
The source code is released under:
Copyright (c) 2013, Leocadio Tin? All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
If you think the Android project Dumbledroid 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 io.leocad.dumbledroidplugin.exceptions; /*from w ww .ja v a 2 s.c o m*/ public class UnsupportedContentTypeException extends Exception { private static final long serialVersionUID = 7469994192742254679L; private String mContentType; public UnsupportedContentTypeException(String contentType) { mContentType = contentType; } @Override public String getMessage() { return String.format("'%s' is not a valid content type. Your URL should point to a valid JSON or XML content.", mContentType); } }