001    package org.nakedobjects.applib.adapters;
002    
003    /**
004     * Indicates that encoding or decoding has failed.
005     */
006    public class EncodingException extends RuntimeException {
007        private static final long serialVersionUID = 1L;
008    
009        public EncodingException() {
010            super();
011        }
012    
013        public EncodingException(final String msg) {
014            super(msg);
015        }
016    
017        public EncodingException(final String msg, final Throwable cause) {
018            super(msg, cause);
019        }
020    
021        public EncodingException(final Throwable cause) {
022            super(cause);
023        }
024    
025    }
026    
027    // Copyright (c) Naked Objects Group Ltd.