Exemple #1
0
 public JsonLdError(JsonLdError.Error type)
     : base(string.Empty)
 {
     this.type = type;
 }
Exemple #2
0
 public virtual JsonLdError SetType(JsonLdError.Error error)
 {
     this.type = error;
     return(this);
 }
Exemple #3
0
 public JsonLdError(JsonLdError.Error type, object detail)
     : base(detail == null ? string.Empty : detail.ToString())
 {
     // TODO: pretty toString (e.g. print whole json objects)
     this.type = type;
 }
Exemple #4
0
 internal JsonLdError(JsonLdError.Error type)
     : base(string.Empty)
 {
     this.type = type;
 }
Exemple #5
0
 internal JsonLdError(JsonLdError.Error type, object detail, Exception innerException)
     : base(detail == null ? string.Empty : detail.ToString(), innerException)
 {
     // TODO: pretty toString (e.g. print whole json objects)
     this.type = type;
 }
		public JsonLdError(JsonLdError.Error type) : base(string.Empty)
		{
			this.type = type;
		}
		public virtual JsonLdError SetType(JsonLdError.Error error)
		{
			this.type = error;
			return this;
		}
		public JsonLdError(JsonLdError.Error type, object detail) : base(detail == null ? 
			string.Empty : detail.ToString())
		{
			// TODO: pretty toString (e.g. print whole json objects)
			this.type = type;
		}