//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
using System;
using System.Runtime.Serialization;
namespace System.IdentityModel.Tokens
{
///
/// Throw this exception when a received Security token has an effective time
/// in the future.
///
[Serializable]
public class SecurityTokenNotYetValidException : SecurityTokenValidationException
{
///
/// Initializes a new instance of
///
public SecurityTokenNotYetValidException()
: base(SR.GetString(SR.ID4182))
{
}
///
/// Initializes a new instance of
///
public SecurityTokenNotYetValidException(string message)
: base(message)
{
}
///
/// Initializes a new instance of
///
public SecurityTokenNotYetValidException(string message, Exception inner)
: base(message, inner)
{
}
///
/// Initializes a new instance of
///
protected SecurityTokenNotYetValidException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}