Class ParseException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RequiredElementException

    public class ParseException
    extends java.lang.Exception
    Thrown to indicate that an error has occurred while parsing a JNLP file.
    Version:
    $Revision: 1.7 $
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static ParserType used  
    • Constructor Summary

      Constructors 
      Constructor Description
      ParseException​(java.lang.String message)
      Create a parse exception with the specified message.
      ParseException​(java.lang.String message, java.lang.Throwable cause)
      Create a parse exception with the specified message and cause.
      ParseException​(java.lang.Throwable cause)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String getParserSettingsMessage()  
      static void setUsed​(ParserType us)  
      • 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

      • ParseException

        public ParseException​(java.lang.String message)
        Create a parse exception with the specified message.
        Parameters:
        message - to be shown in exception
      • ParseException

        public ParseException​(java.lang.String message,
                              java.lang.Throwable cause)
        Create a parse exception with the specified message and cause.
        Parameters:
        message - to be used by exception
        cause - cause of exception
      • ParseException

        public ParseException​(java.lang.Throwable cause)
    • Method Detail

      • setUsed

        public static void setUsed​(ParserType us)
      • getParserSettingsMessage

        private static java.lang.String getParserSettingsMessage()