Class TravelModelNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.servicelayer.exceptions.SystemException
de.hybris.platform.travelservices.exceptions.TravelModelNotFoundException
- All Implemented Interfaces:
Serializable
public class TravelModelNotFoundException
extends de.hybris.platform.servicelayer.exceptions.SystemException
The exception thrown when model is not found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTravelModelNotFoundException(String message, String subject, String subjectType) Instantiates a new TravelModelNotFoundException.TravelModelNotFoundException(String message, String subject, String subjectType, Throwable cause) Instantiates a new TravelModelNotFoundException. -
Method Summary
Modifier and TypeMethodDescriptionGets subject.Gets subject type.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TravelModelNotFoundException
Instantiates a new TravelModelNotFoundException.- Parameters:
message- the messagesubject- the subjectsubjectType- the subject type
-
TravelModelNotFoundException
public TravelModelNotFoundException(String message, String subject, String subjectType, Throwable cause) Instantiates a new TravelModelNotFoundException.- Parameters:
message- the messagesubject- the subjectsubjectType- the subject typecause- the initial cause
-
-
Method Details
-
getSubject
Gets subject.- Returns:
- the subject
-
getSubjectType
Gets subject type.- Returns:
- the subject type
-