public class

ValidationException

extends RemoteMessageException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ fm.audiobox.core.exceptions.AudioBoxException
           ↳ fm.audiobox.core.exceptions.RemoteMessageException
             ↳ fm.audiobox.core.exceptions.ValidationException

Class Overview

This exception is thrown when a POST or PUT request rise a remote validation error.

Its main usage is to handle 422 HttpStatus messages.

Summary

[Expand]
Inherited Fields
From class fm.audiobox.core.exceptions.AudioBoxException
Public Constructors
ValidationException(HttpResponse response)
Instantiates a new Validation exception starting from the response.
[Expand]
Inherited Methods
From class fm.audiobox.core.exceptions.RemoteMessageException
From class fm.audiobox.core.exceptions.AudioBoxException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ValidationException (HttpResponse response)

Instantiates a new Validation exception starting from the response.

Parameters
response the response