Class SupervisorMultiTicketsActionValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.novomind.ecom.api.iagent.exception.SupervisorMultiTicketsActionValidationException
- All Implemented Interfaces:
Serializable
Thrown when a multi-ticket supervisor action fails validation for one or more tickets.
- Since:
- 12.40
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aSupervisorMultiTicketsActionValidationExceptionwith the specified detail message.SupervisorMultiTicketsActionValidationException(String message, String dialogUrl) Constructs aSupervisorMultiTicketsActionValidationExceptionwith the specified detail message.SupervisorMultiTicketsActionValidationException(String message, Throwable cause, Map<SupervisorTicketAction, SupervisorTicketActionValidationException> supervisorTicketActionExceptions) Constructs aSupervisorMultiTicketsActionValidationExceptionwith the specified detail message and cause.SupervisorMultiTicketsActionValidationException(String message, Map<SupervisorTicketAction, SupervisorTicketActionValidationException> supervisorTicketActionExceptions) Constructs aSupervisorMultiTicketsActionValidationExceptionwith the specified detail message.SupervisorMultiTicketsActionValidationException(String message, Map<SupervisorTicketAction, SupervisorTicketActionValidationException> supervisorTicketActionExceptions, String dialogUrl) Constructs anSupervisorMultiTicketsActionValidationExceptionwith the specified detail message and an url to be opened within a dialog window instead of a simple error message.SupervisorMultiTicketsActionValidationException(Throwable cause, Map<SupervisorTicketAction, SupervisorTicketActionValidationException> supervisorTicketActionExceptions) Constructs aSupervisorMultiTicketsActionValidationExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Method Summary
Modifier and TypeMethodDescriptionReturns the dialog url to be opened instead of a simple error message.Returns the exceptions which occurred while trying to validate the ticket actions.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SupervisorMultiTicketsActionValidationException
Constructs aSupervisorMultiTicketsActionValidationExceptionwith the specified detail message.- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)- Since:
- 12.40
-
SupervisorMultiTicketsActionValidationException
public SupervisorMultiTicketsActionValidationException(String message, Map<SupervisorTicketAction, SupervisorTicketActionValidationException> supervisorTicketActionExceptions) Constructs aSupervisorMultiTicketsActionValidationExceptionwith the specified detail message.- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)supervisorTicketActionExceptions- A map containing individualSupervisorTicketActionValidationExceptionforSupervisorTicketAction- Since:
- 12.40
-
SupervisorMultiTicketsActionValidationException
Constructs aSupervisorMultiTicketsActionValidationExceptionwith the specified detail message.- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)dialogUrl- The dialogUrl used to show up a dialog window instead of a simple error message- Since:
- 12.40
-
SupervisorMultiTicketsActionValidationException
public SupervisorMultiTicketsActionValidationException(String message, Throwable cause, Map<SupervisorTicketAction, SupervisorTicketActionValidationException> supervisorTicketActionExceptions) Constructs aSupervisorMultiTicketsActionValidationExceptionwith the specified detail message and cause.Note that the detail message associated with
causeis not automatically incorporated into this exception's detail message.- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)cause- The cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)supervisorTicketActionExceptions- A map containing individualSupervisorTicketActionValidationExceptionforSupervisorTicketAction- Since:
- 12.40
-
SupervisorMultiTicketsActionValidationException
public SupervisorMultiTicketsActionValidationException(Throwable cause, Map<SupervisorTicketAction, SupervisorTicketActionValidationException> supervisorTicketActionExceptions) Constructs aSupervisorMultiTicketsActionValidationExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).- Parameters:
cause- The cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)supervisorTicketActionExceptions- A map containing individualSupervisorTicketActionValidationExceptionforSupervisorTicketAction- Since:
- 12.40
-
SupervisorMultiTicketsActionValidationException
public SupervisorMultiTicketsActionValidationException(String message, Map<SupervisorTicketAction, SupervisorTicketActionValidationException> supervisorTicketActionExceptions, String dialogUrl) Constructs anSupervisorMultiTicketsActionValidationExceptionwith the specified detail message and an url to be opened within a dialog window instead of a simple error message.- Parameters:
message- The detail message (which is saved for later retrieval by theThrowable.getMessage()method)supervisorTicketActionExceptions- A map containing individualSupervisorTicketActionValidationExceptionforSupervisorTicketActiondialogUrl- The dialogUrl used to show up a dialog window instead of a simple error message- Since:
- 12.40
-
-
Method Details
-
getSupervisorTicketActionExceptions
public Map<SupervisorTicketAction,SupervisorTicketActionValidationException> getSupervisorTicketActionExceptions()Returns the exceptions which occurred while trying to validate the ticket actions.- Returns:
- the exceptions which occurred while trying to validate the ticket actions
- Since:
- 12.40
-
getDialogUrl
Returns the dialog url to be opened instead of a simple error message.- Returns:
- the dialog url to be opened instead of a simple error message
- Since:
- 12.40
-