Example usage for org.joda.time IllegalFieldValueException getIllegalValueAsString

List of usage examples for org.joda.time IllegalFieldValueException getIllegalValueAsString

Introduction

In this page you can find the example usage for org.joda.time IllegalFieldValueException getIllegalValueAsString.

Prototype

public String getIllegalValueAsString() 

Source Link

Document

Returns the illegal value assigned to the field as a non-null string.

Usage

From source file:org.opentestsystem.delivery.testreg.domain.InvalidFormatBasedDateTimeDeserializer.java

License:Open Source License

private InvalidFormatException convertToInvalidFormatException(IllegalFieldValueException exception) {
    return new InvalidFormatException(exception.getFieldName(), exception.getIllegalValueAsString(),
            DateTime.class);
}