Back to project page PatternAndroid.
The source code is released under:
MIT License
If you think the Android project PatternAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * 2011 Foxykeep (http://datadroid.foxykeep.com) * <p>//from w w w .j a va 2s.c om * Licensed under the Beerware License : <br /> * As long as you retain this notice you can do whatever you want with this stuff. If we meet some * day, and you think this stuff is worth it, you can buy me a beer in return */ package com.foxykeep.datadroid.exception; /** * Thrown to indicate that a custom exception occurred. * <p> * Subclass this class to create special exceptions for your needs. * * @author Foxykeep */ public abstract class CustomRequestException extends Exception { private static final long serialVersionUID = 4658308128254827562L; /** * Constructs a new {@link CustomRequestException} that includes the current stack trace. */ public CustomRequestException() { super(); } /** * Constructs a new {@link CustomRequestException} that includes the current stack trace, the * specified detail message and the specified cause. * * @param detailMessage The detail message for this exception. * @param throwable The cause of this exception. */ public CustomRequestException(final String detailMessage, final Throwable throwable) { super(detailMessage, throwable); } /** * Constructs a new {@link CustomRequestException} that includes the current stack trace and the * specified detail message. * * @param detailMessage The detail message for this exception. */ public CustomRequestException(final String detailMessage) { super(detailMessage); } /** * Constructs a new {@link CustomRequestException} that includes the current stack trace and the * specified cause. * * @param throwable The cause of this exception. */ public CustomRequestException(final Throwable throwable) { super(throwable); } }