Package it.unipd.dei.eis.core.common
Class Failure
- java.lang.Object
-
- it.unipd.dei.eis.core.common.Failure
-
public class Failure extends Object
A class that represents a failure.
-
-
Constructor Detail
-
Failure
public Failure(Exception exception, String message)
Creates a new failure.- Parameters:
exception- the exception that caused the failuremessage- the message of the failure
-
Failure
public Failure(String message)
Creates a new failure.- Parameters:
message- the message of the failure
-
Failure
public Failure(Exception exception)
Creates a new failure.- Parameters:
exception- the exception that caused the failure
-
-