Class IOProblem

  • All Implemented Interfaces:
    java.io.Serializable

    public class IOProblem
    extends java.io.IOException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IOProblem​(java.net.URI type, java.lang.String title, int statusCode)  
      IOProblem​(java.net.URI type, java.lang.String title, int statusCode, java.lang.String detail)  
      IOProblem​(java.net.URI type, java.lang.String title, int statusCode, java.lang.String detail, java.net.URI instance)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getDetail()  
      java.util.Optional<java.net.URI> getInstance()  
      int getStatusCode()  
      java.lang.String getTitle()  
      java.net.URI getType()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IOProblem

        public IOProblem​(java.net.URI type,
                         java.lang.String title,
                         int statusCode,
                         @Nullable
                         java.lang.String detail,
                         @Nullable
                         java.net.URI instance)
      • IOProblem

        public IOProblem​(java.net.URI type,
                         java.lang.String title,
                         int statusCode,
                         @Nullable
                         java.lang.String detail)
      • IOProblem

        public IOProblem​(java.net.URI type,
                         java.lang.String title,
                         int statusCode)
    • Method Detail

      • getType

        public java.net.URI getType()
      • getTitle

        public java.lang.String getTitle()
      • getStatusCode

        public int getStatusCode()
      • getDetail

        public java.util.Optional<java.lang.String> getDetail()
      • getInstance

        public java.util.Optional<java.net.URI> getInstance()