Coverage Summary for Class: FailedOperationException (it.polimi.ingsw.Exceptions.Operation)
| Class | Class, % | Method, % | Line, % |
|---|---|---|---|
| FailedOperationException | 0% (0/1) | 0% (0/1) | 0% (0/1) |
1 package it.polimi.ingsw.Exceptions.Operation; 2 3 /** 4 * Signals there was an error while executing of an operation. 5 */ 6 public class FailedOperationException extends OperationException { 7 /** 8 * Creates an exception reporting a specific error and an identifier for the failed operation 9 * 10 * @param operationName the name of the operation in question 11 * @param additionalInfo a short description of the error 12 */ 13 public FailedOperationException(String operationName, String additionalInfo) { 14 super(operationName, "could critically failed during execution." + 15 "\nAdditional INFO: " + additionalInfo); 16 } 17 }