Class TransparencyDisallowedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TransparencyDisallowedException
    extends PDFConformanceException
    The PDF profile being used does not allow transparency.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String context  
      private java.lang.Object profile  
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContext()
      Returns context information to help spotting the problem.
      java.lang.Object getProfile()
      Returns the profile that is being used and disallows transparency.
      • 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
    • Field Detail

      • profile

        private final java.lang.Object profile
      • context

        private final java.lang.String context
    • Constructor Detail

      • TransparencyDisallowedException

        public TransparencyDisallowedException​(java.lang.Object profile,
                                               java.lang.String context)
    • Method Detail

      • getProfile

        public java.lang.Object getProfile()
        Returns the profile that is being used and disallows transparency.
        See Also:
        PDFAMode, PDFXMode
      • getContext

        public java.lang.String getContext()
        Returns context information to help spotting the problem.