public class BadElementException extends DocumentException
Element that hasn't got the right form. 
      DocumentException, Serialized Form 
       | Constructor and Description | 
|---|
BadElementException(Exception ex) 
            
              Constructs a BadElementException 
               |  
          
BadElementException(String message) 
            
              Constructs a   BadElementException with a message. 
             |  
          
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BadElementException(Exception ex)
ex - an Exception object that has to be turned into a BadElementException 
           public BadElementException(String message)
BadElementException with a message. 
          message - a message describing the exception 
           Copyright © 1998–2019. All rights reserved.