public class

ResourceNotFoundException

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

Class Overview

This exception is thrown when a 404 is returned by the service. It generally means that the requested resource is not found or it doesn't exists anymore (or yet).

Its main usage is to handle 404 HttpStatus messages.

Summary

[Expand]
Inherited Fields
From class fm.audiobox.core.exceptions.AudioBoxException
Public Constructors
ResourceNotFoundException(HttpResponse response)
Instantiates a new Resource not found exception.
[Expand]
Inherited Methods
From class fm.audiobox.core.exceptions.AudioBoxException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ResourceNotFoundException (HttpResponse response)

Instantiates a new Resource not found exception.

Parameters
response the response