Package org.fenixedu.cms.exceptions
Class CmsDomainException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.fenixedu.bennu.core.domain.exceptions.DomainException
-
- org.fenixedu.cms.exceptions.CmsDomainException
-
- All Implemented Interfaces:
Serializable
public class CmsDomainException extends org.fenixedu.bennu.core.domain.exceptions.DomainExceptionCreated by nurv on 22/08/14.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCmsDomainException(javax.ws.rs.core.Response.Status status, String bundle, String key, String... args)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsDomainExceptionbadRequest(String key)static CmsDomainExceptionforbiden()static CmsDomainExceptionnotFound()-
Methods inherited from class org.fenixedu.bennu.core.domain.exceptions.DomainException
asJson, getArgs, getKey, getLocalizedMessage, getResponseStatus
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
BUNDLE
protected static final String BUNDLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
forbiden
public static CmsDomainException forbiden()
-
notFound
public static CmsDomainException notFound()
-
badRequest
public static CmsDomainException badRequest(String key)
-
-