Package org.cyclos.model.marketplace
Class CannotBuyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.cyclos.model.CyclosException
-
- org.cyclos.model.BusinessException
-
- org.cyclos.model.marketplace.CannotBuyException
-
- All Implemented Interfaces:
Serializable
public class CannotBuyException extends BusinessException
Exception thrown when a product cannot be buy We could use a validation exception instead of this one but changing will affect what we already defined in REST.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotBuyException()CannotBuyException(String message, UserVO seller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserVOgetSeller()voidsetSeller(UserVO seller)-
Methods inherited from class org.cyclos.model.CyclosException
getAttribute, getMessage, setAttribute, shouldGenerateLog
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-