public class ValidationFailure extends Object implements ValidationResult, scala.Product, scala.Serializable
Constructor and Description |
---|
ValidationFailure(String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSuccess() |
String |
message() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFailure, orElse
public ValidationFailure(String message)
public String message()
public boolean isSuccess()
isSuccess
in interface ValidationResult
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.