com.fasterxml.jackson.core

Class JsonProcessingException

    • Constructor Detail

      • JsonProcessingException

        protected JsonProcessingException(String msg)
      • JsonProcessingException

        protected JsonProcessingException(String msg,
                               JsonLocation loc)
      • JsonProcessingException

        protected JsonProcessingException(String msg,
                               Throwable rootCause)
      • JsonProcessingException

        protected JsonProcessingException(Throwable rootCause)
    • Method Detail

      • getOriginalMessage

        public String getOriginalMessage()
        Method that allows accessing the original "message" argument, without additional decorations (like location information) that overridden getMessage() adds.
        Since:
        2.1
      • getMessageSuffix

        protected String getMessageSuffix()
        Accessor that sub-classes can override to append additional information right after the main message, but before source location information.
      • getMessage

        public String getMessage()
        Default method overridden so that we can add location information
        Overrides:
        getMessage in class Throwable

Copyright © 2008-2015 FasterXML. All Rights Reserved.