001 package com.nimbusds.oauth2.sdk; 002 003 004 /** 005 * Serialization exception. 006 * 007 * @author Vladimir Dzhuvinov 008 * @version $version$ (2013-01-14) 009 */ 010 public class SerializeException extends GeneralException { 011 012 013 /** 014 * Creates a new serialisation exception. 015 * 016 * @param message The exception message. May be {@code null}. 017 */ 018 public SerializeException(final String message) { 019 020 this(message, null); 021 } 022 023 024 /** 025 * Creates a new serialisation exception. 026 * 027 * @param message The exception message. May be {@code null}. 028 * @param cause The exception cause, {@code null} if not specified. 029 */ 030 public SerializeException(final String message, final Throwable cause) { 031 032 super(message, cause); 033 } 034 }